question
stringlengths
23
161
answer
stringlengths
1
193
type
stringclasses
5 values
columns_used
stringlengths
2
161
column_types
stringclasses
132 values
sample_answer
stringlengths
1
228
dataset
stringclasses
65 values
What are the descriptions of the 3 items with the highest quantities ordered?
['PAPER CRAFT , LITTLE BIRDIE', 'MEDIUM CERAMIC TOP STORAGE JAR', 'ASSTD DESIGN 3D PAPER STICKERS']
list[category]
['Description', 'Quantity']
['category', 'number[int32]']
['BLUE POLKADOT WRAP', 'HANGING JAM JAR T-LIGHT HOLDER', 'FAIRY CAKE FLANNEL ASSORTED COLOUR']
065_RFM
What are the descriptions of the 2 items with the lowest quantities ordered? If there is a tie then solve it with the alphabetical order of descriptions.
['PAPER CRAFT , LITTLE BIRDIE', 'MEDIUM CERAMIC TOP STORAGE JAR']
list[category]
['Description', 'Quantity']
['category', 'number[int32]']
['HANGING METAL STAR LANTERN', 'LARGE CAKE TOWEL CHOCOLATE SPOTS']
065_RFM
Which 2 countries made the most transactions?
['United Kingdom', 'Germany']
list[category]
['Country']
['category']
['United Kingdom', 'Australia']
065_RFM
Which 2 countries made the least transactions?
['Saudi Arabia', 'Bahrain']
list[category]
['Country']
['category']
['United Kingdom', 'Australia']
065_RFM
What are the invoice numbers of the top 5 transactions with the highest quantities ordered?
['581483', '541431', '578841', '542504', '573008']
list[number]
['InvoiceNo', 'Quantity']
['number[UInt32]', 'number[int32]']
['548005', '555200', '573399', '563745', '568909']
065_RFM
What are the stock codes of the bottom 4 transactions with the lowest quantities ordered? If there is a tie go with numerical order.
[23843, 21366, 23005, 23005, 84347]
list[number]
['InvoiceNo', 'Quantity']
['number[UInt32]', 'number[int32]']
['22465', '21109', '82484', '22799', '82600']
065_RFM
What are the four most commonly ordered quantities?
[1, 2, 12, 6]
list[number]
['Quantity']
['number[int32]']
[1, 4, 2, 12]
065_RFM
What are the times the two most common descriptions are repeated?
[2369, 2200]
list[number]
['Description']
['category']
[1, 1]
065_RFM