Table:
0
A
B
C
D
E
1
competition id
year
competition type
country
2
1
2006.0
Friendly
Italy
3
2
2006.0
Friendly
Spain
4
3
2006.0
Friendly
Australia
5
4
2006.0
Friendly
Russia
6
5
2007.0
Friendly
Russia
7
6
2007.0
Friendly
Australia
8
7
2007.0
Tournament
Russia
9
8
2007.0
Tournament
Slovenia
10
9
2007.0
Tournament
Slovenia
11
10
2007.0
Friendly
Italy
12
11
2007.0
Friendly
Ireland

Questions and formulas:
Question: What are the types and countries of competitions?
Formula: CHOOSE({1,2},C1,D1)
Formula2: CHOOSE({1,2},C2:C12,D2:D12)
Level: easy
Question: What are the types of every competition and in which countries are they located?
Formula: CHOOSE({1,2},C1,D1)
Formula2: CHOOSE({1,2},C2:C12,D2:D12)
Level: easy
Question: What are the distinct years in which the competitions type is not "Tournament"?
Formula: UNIQUE(FILTER(B1,C1<>"Tournament"))
Formula2: UNIQUE(FILTER(B2:B12,C2:C12<>"Tournament"))
Level: easy
Question: What are the different years that are not of competition type equal to tournament?
Formula: LET(query1,FILTER(A1:E1,C1<>"tournament"),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,2))))
Formula2: LET(query1,FILTER(A2:E12,C2:C12<>"tournament"),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,2))))
Level: hard
Question: List the types of competition and the number of competitions of each type.
Formula: SUMMARIZE(C1,SUMX(A1))
Formula2: SUMMARIZE(C2:C12,SUMX(A2:A12))
Level: easy
Question: What are the types of competition and number of competitions for that type?
Formula: SUMMARIZE(C1,SUMX(A1))
Formula2: SUMMARIZE(C2:C12,SUMX(A2:A12))
Level: easy
Question: List the types of competition that have at most five competitions of that type.
Formula: LET(query1,SUMMARIZE(C1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,3)<=5))
Formula2: LET(query1,SUMMARIZE(C2:C12,SUMX(A2:A12)),FILTER(query1,CHOOSECOLS(query1,3)<=5))
Level: hard
Question: which country did participated in the most number of Tournament competitions?
Formula: TAKE(SORT(LET(query1,FILTER(A1:E1,C1="tournament"),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,1)))), 2, -1), 1)
Formula2: TAKE(SORT(LET(query1,FILTER(A2:E12,C2:C12="tournament"),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,1)))), 2, -1), 1)
Level: hard
Question: what is the name of the country that participated in the most tournament competitions?
Formula: TAKE(SORT(LET(query1,FILTER(A1:E1,C1="tournament"),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,1)))), 2, -1), 1)
Formula2: TAKE(SORT(LET(query1,FILTER(A2:E12,C2:C12="tournament"),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,1)))), 2, -1), 1)
Level: hard
Question: competition ids, competition types and countries
Formula: UNIQUE(HSTACK(C1,D1,A1))
Formula2: UNIQUE(HSTACK(C2:C12,D2:D12,A2:A12))
Level: easy
Question: Ids, types and countries for competitions.
Formula: UNIQUE(HSTACK(C1,A1,D1))
Formula2: UNIQUE(HSTACK(C2:C12,A2:A12,D2:D12))
Level: easy
Question: Number of years where no tournament competitions were held.
Formula: LET(query1,FILTER(A1:E1,C1<>"tournament"),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,2))))
Formula2: LET(query1,FILTER(A2:E12,C2:C12<>"tournament"),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,2))))
Level: hard
Question: The country with the most tournament competitions.
Formula: TAKE(SORT(LET(query1,FILTER(A1:E1,C1="tournament"),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,1)))), 2, -1), 1)
Formula2: TAKE(SORT(LET(query1,FILTER(A2:E12,C2:C12="tournament"),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,1)))), 2, -1), 1)
Level: hard
Question: Which country have held most tournaments?
Formula: TAKE(SORT(LET(query1,FILTER(A1:E1,C1="tournament"),SUMMARIZE(CHOOSECOLS(query1,4),COUNTX(CHOOSECOLS(query1,4)))), 2, -1), 1)
Formula2: TAKE(SORT(LET(query1,FILTER(A2:E12,C2:C12="tournament"),SUMMARIZE(CHOOSECOLS(query1,4),COUNTX(CHOOSECOLS(query1,4)))), 2, -1), 1)
Level: hard
Question: How many competitions are there for each type?
Formula: SUMMARIZE(C1,SUMX(A1))
Formula2: SUMMARIZE(C2:C12,SUMX(A2:A12))
Level: easy
Question: How many competitions does each competition type have?
Formula: SUMMARIZE(C1,SUMX(A1))
Formula2: SUMMARIZE(C2:C12,SUMX(A2:A12))
Level: easy
Question: Which types have 5 or less competition id?
Formula: LET(query1,SUMMARIZE(C1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,3)<=5))
Formula2: LET(query1,SUMMARIZE(C2:C12,SUMX(A2:A12)),FILTER(query1,CHOOSECOLS(query1,3)<=5))
Level: hard
Question: the competition id, competition type and country
Formula: UNIQUE(HSTACK(C1,D1,A1))
Formula2: UNIQUE(HSTACK(C2:C12,D2:D12,A2:A12))
Level: easy
Question: Count of years where no tournament competitions were held.
Formula: LET(query1,FILTER(A1:E1,C1<>"tournament"),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,2))))
Formula2: LET(query1,FILTER(A2:E12,C2:C12<>"tournament"),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,2))))
Level: hard
Question: What is the number of competitions under each type?
Formula: SUMMARIZE(C1,SUMX(A1))
Formula2: SUMMARIZE(C2:C12,SUMX(A2:A12))
Level: easy
Question: Which types have at most 5 competitions?
Formula: LET(query1,SUMMARIZE(C1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,3)<=5))
Formula2: LET(query1,SUMMARIZE(C2:C12,SUMX(A2:A12)),FILTER(query1,CHOOSECOLS(query1,3)<=5))
Level: hard
Question: The country which hold most tournaments.
Formula: TAKE(SORT(LET(query1,FILTER(A1:E1,C1="tournament"),SUMMARIZE(CHOOSECOLS(query1,4),COUNTX(CHOOSECOLS(query1,4)))), 2, -1), 1)
Formula2: TAKE(SORT(LET(query1,FILTER(A2:E12,C2:C12="tournament"),SUMMARIZE(CHOOSECOLS(query1,4),COUNTX(CHOOSECOLS(query1,4)))), 2, -1), 1)
Level: hard