CREATE TABLE Student (StuID VARCHAR, age INT)
CREATE TABLE Sportsinfo (StuID VARCHAR)

Show total hours per week and number of games played for students under 20.
SELECT SUM(hoursperweek), SUM(gamesplayed) FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID WHERE T2.age < 20
SELECT SUM("hoursperweek"), SUM("gamesplayed") FROM "Sportsinfo" AS "T1" JOIN "Student" AS "T2" ON "T1"."StuID" = "T2"."StuID" AND "T2"."age" < 20