SELECT StuID FROM Sportsinfo GROUP BY StuID HAVING sum(hoursperweek)  >  10
What are the student IDs for everybody who worked for more than 10 hours per week on all sports?
SELECT StuID FROM Sportsinfo GROUP BY StuID HAVING sum ( hoursperweek ) > 10
select stuid from sportsinfo group by stuid having sum ( hoursperweek ) > value
What are the student IDs for everybody who worked for more than 10 hours per week on all sports ?