SELECT Stuid ,  sum(hours_played) FROM Plays_games GROUP BY Stuid
Show all student ids and the number of hours played.
SELECT Stuid , sum ( hours_played ) FROM Plays_games GROUP BY Stuid
select stuid , sum ( hours_played ) from plays_games group by stuid
Show all student ids and the number of hours played .