For each student id, how many hours did each student play?
select hours_played from plays_games group by stuid
How much did they play in total?
select sum(hours_played) from plays_games group by stuid
Also, what are their student ids?
select stuid, sum(hours_played) from plays_games group by stuid