Table:
0
A
B
C
D
1
restaurant id
restaurant name
address
rating
2
1
Subway
3233 St Paul St, Baltimore, MD 21218
3
3
2
Honeygrow
3212 St Paul St, Baltimore, MD 21218
4

Questions and formulas:
Question: Show me all the restaurants.
Formula: UNIQUE(A1)
Formula2: UNIQUE(A2:A3)
Level: easy
Question: What is the address of the restaurant Subway?
Formula: LET(query1,FILTER(A1:D1,B1="subway"),UNIQUE(CHOOSECOLS(query1,3,1)))
Formula2: LET(query1,FILTER(A2:D3,B2:B3="subway"),UNIQUE(CHOOSECOLS(query1,3,1)))
Level: hard
Question: What is the rating of the restaurant Subway?
Formula: LET(query1,FILTER(A1:D1,B1="subway"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,4))))
Formula2: LET(query1,FILTER(A2:D3,B2:B3="subway"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,4))))
Level: hard
Question: display all restaurant ids 
Formula: UNIQUE(A1)
Formula2: UNIQUE(A2:A3)
Level: easy
Question: Subway's addresses and ids 
Formula: LET(query1,FILTER(A1:D1,B1="subway"),UNIQUE(CHOOSECOLS(query1,3,1)))
Formula2: LET(query1,FILTER(A2:D3,B2:B3="subway"),UNIQUE(CHOOSECOLS(query1,3,1)))
Level: hard
Question: Subway's rating and id 
Formula: LET(query1,FILTER(A1:D1,B1="subway"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,4))))
Formula2: LET(query1,FILTER(A2:D3,B2:B3="subway"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,4))))
Level: hard
Question: the restaurant id.
Formula: UNIQUE(A1)
Formula2: UNIQUE(A2:A3)
Level: easy
Question: the address and id of the restaurant Subway
Formula: LET(query1,FILTER(A1:D1,B1="subway"),UNIQUE(CHOOSECOLS(query1,3,1)))
Formula2: LET(query1,FILTER(A2:D3,B2:B3="subway"),UNIQUE(CHOOSECOLS(query1,3,1)))
Level: hard
Question: the rating and id of the restaurant Subway
Formula: LET(query1,FILTER(A1:D1,B1="subway"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,4))))
Formula2: LET(query1,FILTER(A2:D3,B2:B3="subway"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,4))))
Level: hard