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