Table:
0
A
B
C
D
E
1
student id
sport name
hours per week
games played
on scholarship
2
1001
Athletics
2
5
N
3
1002
Football
7
20
Y
4
1003
Football
45
18
Y
5
1005
Lacrosse
35
16
N
6
1015
Lacrosse
25
41
Y
7
1018
Lacrosse
39
25
N
8
1019
Swimming
8
16
Y
9
1019
Tennis
19
62
N
10
1022
Baseball
29
31
N
11
1023
Basketball
14
8
Y
12
1023
Tennis
1
56
Y
13
1026
Cricket
23
37
Y
14
1033
Soccer
45
45
Y
15
1035
Curling
50
94
N

Questions and formulas:
Question: How many sports do we have?
Formula: ROWS(UNIQUE(B1))
Formula2: ROWS(UNIQUE(B2:B15))
Level: easy
Question: How many different types of sports do we offer?
Formula: ROWS(UNIQUE(B1))
Formula2: ROWS(UNIQUE(B2:B15))
Level: easy
Question: How many students are there?
Formula: SUM(A1)
Formula2: SUM(A2:A15)
Level: easy
Question: How many different students are involved in sports?
Formula: ROWS(UNIQUE(A1))
Formula2: ROWS(UNIQUE(A2:A15))
Level: easy
Question: How many games are played for all students?
Formula: SUM(D1)
Formula2: SUM(D2:D15)
Level: easy
Question: What is the total number of games played?
Formula: SUM(D1)
Formula2: SUM(D2:D15)
Level: easy
Question: Show all sport name and the number of students.
Formula: SUMMARIZE(B1,SUMX(A1))
Formula2: SUMMARIZE(B2:B15,SUMX(A2:A15))
Level: easy
Question: Show all student IDs with the number of sports and total number of games played
Formula: SUMMARIZE(A1,DCOUNTX(B1),SUMX(D1))
Formula2: SUMMARIZE(A2:A15,DCOUNTX(B2:B15),SUMX(D2:D15))
Level: medium
Question: What are the ids of all students along with how many sports and games did they play?
Formula: SUMMARIZE(HSTACK(A1,B1),SUMX(D1))
Formula2: SUMMARIZE(HSTACK(A2:A15,B2:B15),SUMX(D2:D15))
Level: medium
Question: What are the student IDs for everybody who worked for more than 10 hours per week?
Formula: LET(query1,SUMMARIZE(A1,SUMX(C1)),FILTER(query1,CHOOSECOLS(query1,2)>10))
Formula2: LET(query1,SUMMARIZE(A2:A15,SUMX(C2:C15)),FILTER(query1,CHOOSECOLS(query1,2)>10))
Level: hard
Question: the number of sports and total games played by each student.
Formula: SUMMARIZE(A1,DCOUNTX(B1),SUMX(D1))
Formula2: SUMMARIZE(A2:A15,DCOUNTX(B2:B15),SUMX(D2:D15))
Level: medium
Question: How many games and kinds of sport does each student play? 
Formula: SUMMARIZE(HSTACK(B1,A1),SUMX(D1))
Formula2: SUMMARIZE(HSTACK(B2:B15,A2:A15),SUMX(D2:D15))
Level: medium
Question: Students who play sport for more than 10 hours a week 
Formula: LET(query1,SUMMARIZE(HSTACK(A1,B1),SUMX(C1)),FILTER(query1,CHOOSECOLS(query1,3)>10))
Formula2: LET(query1,SUMMARIZE(HSTACK(A2:A15,B2:B15),SUMX(C2:C15)),FILTER(query1,CHOOSECOLS(query1,3)>10))
Level: hard
Question: How many kinds of sports?
Formula: ROWS(UNIQUE(B1))
Formula2: ROWS(UNIQUE(B2:B15))
Level: easy
Question: The number of sports.
Formula: ROWS(UNIQUE(B1))
Formula2: ROWS(UNIQUE(B2:B15))
Level: easy
Question: How many students participate in each sport?
Formula: SUMMARIZE(B1,SUMX(A1))
Formula2: SUMMARIZE(B2:B15,SUMX(A2:A15))
Level: easy
Question: The total number of games.
Formula: SUM(D1)
Formula2: SUM(D2:D15)
Level: easy
Question: How many games and kinds of sport played by each student?
Formula: SUMMARIZE(HSTACK(B1,A1),SUMX(D1))
Formula2: SUMMARIZE(HSTACK(B2:B15,A2:A15),SUMX(D2:D15))
Level: medium
Question: The student who spent more than 10h per week in sport games.
Formula: LET(query1,SUMMARIZE(HSTACK(A1,B1),SUMX(C1)),FILTER(query1,CHOOSECOLS(query1,3)>10))
Formula2: LET(query1,SUMMARIZE(HSTACK(A2:A15,B2:B15),SUMX(C2:C15)),FILTER(query1,CHOOSECOLS(query1,3)>10))
Level: hard
Question: Number of students playing each sport
Formula: SUMMARIZE(B1,SUMX(A1))
Formula2: SUMMARIZE(B2:B15,SUMX(A2:A15))
Level: easy
Question: How many students participate in each sport?
Formula: SUMMARIZE(B1,SUMX(A1))
Formula2: SUMMARIZE(B2:B15,SUMX(A2:A15))
Level: easy