question
stringlengths 19
187
| answer
stringlengths 1
333
โ | type
stringclasses 5
values | columns_used
stringlengths 2
161
โ | column_types
stringclasses 132
values | sample_answer
stringlengths 1
228
โ | dataset
stringclasses 80
values |
---|---|---|---|---|---|---|
How many women weight less than 60 kg?
|
90
|
number
|
[]
|
[]
|
20
|
077_Gestational
|
What is the range (max-min) of the different heights in meters? Answer with a single number
|
0.61
|
number
|
[]
|
[]
|
0.40
|
077_Gestational
|
What is the standard deviation found among the BMIs?
|
5.09
|
number
|
[]
|
[]
|
2.38
|
077_Gestational
|
List the 3 heights of the 3 tallest women in the dataset (in cm).
|
[196.0, 186.0, 180.0]
|
list[number]
|
[]
|
[]
|
[180.0, 165.0, 165.0]
|
077_Gestational
|
List the different ages (in years) of teenagers found in the dataset.
|
[16.0, 17.0, 18.0, 19.0]
|
list[number]
|
[]
|
[]
|
[16.0, 17.0, 18.0, 19.0]
|
077_Gestational
|
Provide a list with the unique reported pregnancy numbers of women weighing more (>) than 70000g. If there are none answer with an empty list.
|
[1, 2, 3, 4, 5, 6, 7, 8, 9]
|
list[number]
|
[]
|
[]
|
[]
|
077_Gestational
|
List the weights of women with a height of exactly 1m and 45cm.
|
[49.0, 50.0, 55.0, 66.0, 61.0]
|
list[number]
|
[]
|
[]
|
[49.0, 50.0]
|
077_Gestational
|
List the different labels assigned to heredity statuses.
|
[0, 1]
|
list[number]
|
[]
|
[]
|
[0, 1]
|
077_Gestational
|
List the different prediction outcomes for diabetes found in the dataset.
|
[0, 1]
|
list[number]
|
[]
|
[]
|
[0]
|
077_Gestational
|
List the unique height values (converted to cm) found among of women with a BMI<18.5.
|
[165.0, 180.0, 157.0, 167.0]
|
list[number]
|
[]
|
[]
|
[165.0, 180.0]
|
077_Gestational
|
List the unique pregnancy numbers of women older than 30 years. If there are none answer with an empty list.
|
[1,2,3,4,5,6,7,8,9]
|
list[number]
|
[]
|
[]
|
[]
|
077_Gestational
|
List the unique ages of the youngest five women who have a diabetes risk associated with their family. If there are less than five answer with all the unique ages that match the criteria.
|
[17, 18, 19]
|
list[number]
|
[]
|
[]
|
[17.0, 18.0]
|
077_Gestational
|
Is there any record where the area affected is greater than 50ha?
|
False
|
boolean
|
[]
|
[]
|
False
|
078_Fires
|
Was there any fire unaffected by wind?
|
False
|
boolean
|
[]
|
[]
|
False
|
078_Fires
|
Is the maximum value of 'DMC' less than 200?
|
False
|
boolean
|
[]
|
[]
|
True
|
078_Fires
|
Are all of the horizontal axis coordinates plotted to the right of the third column?
|
False
|
boolean
|
[]
|
[]
|
True
|
078_Fires
|
Are there any entries where the temperature is below freezing level in Celsius?
|
False
|
boolean
|
[]
|
[]
|
False
|
078_Fires
|
Is there any measuring that recorded 0% humidity ?
|
False
|
boolean
|
[]
|
[]
|
False
|
078_Fires
|
Are there more than 10 unique months in the dataset?
|
True
|
boolean
|
[]
|
[]
|
False
|
078_Fires
|
Are all months of the year present in the dataset?
|
True
|
boolean
|
[]
|
[]
|
False
|
078_Fires
|
Is the average value of wind speed recorded faster than 3?
|
True
|
boolean
|
[]
|
[]
|
True
|
078_Fires
|
If the year starts in January, what is the numeric id of the worst month in terms of number of fires?
|
1
|
number
|
[]
|
[]
|
10
|
078_Fires
|
Answer with the numeric ID of the day of the week the hottest temperature was recorded
|
5
|
number
|
[]
|
[]
|
6
|
078_Fires
|
What is the name of the month that recorded the driest day when a fire took place?
|
December
|
category
|
[]
|
[]
|
December
|
078_Fires
|
What is the label id of the month with the largest area burned?
|
11
|
number
|
[]
|
[]
|
0
|
078_Fires
|
What is the name of the windiest day on average?
|
Monday
|
category
|
[]
|
[]
|
Monday
|
078_Fires
|
What is the name of the month with the smallest average 'DC' value?
|
January
|
category
|
[]
|
[]
|
August
|
078_Fires
|
Which month number corresponds to the highest average 'ISI' value?
|
6
|
number
|
[]
|
[]
|
11
|
078_Fires
|
Which day was the minimum 'DMC' value recorded? Answer with the day's name
|
Thursday
|
category
|
[]
|
[]
|
Monday
|
078_Fires
|
What is the hottest temperature recorded?
|
33.3
|
number
|
[]
|
[]
|
26.4
|
078_Fires
|
What is the speed of the slowest wind in our records?
|
0.4
|
number
|
[]
|
[]
|
0.9
|
078_Fires
|
Assuming fires are always in different terrain, what is the total added area affected by fires in the dataset?
|
574.40
|
number
|
[]
|
[]
|
0.0
|
078_Fires
|
How many unique values are there in the vertical axis column?
|
7
|
number
|
[]
|
[]
|
3
|
078_Fires
|
What is the mean percentage of relative humidity? Answer with a number
|
44.28
|
number
|
[]
|
[]
|
48.95
|
078_Fires
|
What is the range (max - min) of 'DC' values?
|
852.7
|
number
|
[]
|
[]
|
643.1
|
078_Fires
|
What is the standard deviation of the 'ISI' column?
|
4.55
|
number
|
[]
|
[]
|
4.62
|
078_Fires
|
How many fires affected a negligible (zero) amount of terrain?
|
247
|
number
|
[]
|
[]
|
20
|
078_Fires
|
What are the 3 hottest temperatures recorded?
|
[33.3, 33.1, 32.6]
|
list[number]
|
[]
|
[]
|
[26.4, 24.1, 22.9]
|
078_Fires
|
List the 5 smallest values in the 'DC' column.
|
[7.9, 9.3, 15.3, 15.5, 15.8]
|
list[number]
|
[]
|
[]
|
[70.8, 77.5, 80.8, 94.3, 97.1]
|
078_Fires
|
Provide the unique values in the vertical axis of the associated graph from bottom to top.
|
[2, 3, 4, 5, 6, 8, 9]
|
list[number]
|
[]
|
[]
|
[4, 5, 6]
|
078_Fires
|
What are the 4 recorded humidity percentages of the 4 driest records?
|
[15, 15, 17, 18]
|
list[number]
|
[]
|
[]
|
[21, 27, 27, 29]
|
078_Fires
|
List the 5 (can be repeated) highest wind speeds recorded.
|
[9.4, 9.4, 9.4, 9.4, 8.9]
|
list[number]
|
[]
|
[]
|
[7.2, 6.7, 6.7, 5.4, 5.4]
|
078_Fires
|
Provide the size of the top 3 greatest areas a fire affected.
|
[6.995619625, 6.616439948, 5.633109621]
|
list[number]
|
[]
|
[]
|
[0.0, 0.0, 0.0]
|
078_Fires
|
List the minimum 3 'DMC' values in ascending order.
|
[1.1, 2.4, 3.0]
|
list[number]
|
[]
|
[]
|
[26.2, 27.4, 27.9]
|
078_Fires
|
List the unique full month names when fires were recorded in ascending order.
|
[January, February, March, April, May, June, July, August, September, October, November, December]
|
list[category]
|
[]
|
[]
|
[January, February, August, November, December]
|
078_Fires
|
Provide the 3 names of the days when fires were most frequently recorded.
|
[Monday, Thursday, Wednesday]
|
list[category]
|
[]
|
[]
|
[Monday, Tuesday, Wednesday]
|
078_Fires
|
What are the 2 full names of the 2 months the first 2 rows of the database took place in?
|
[August, November]
|
list[category]
|
[]
|
[]
|
[August, November]
|
078_Fires
|
Provide the name of the days when the 3 highest temperatures were recorded.
|
[Tuesday, Thursday, Saturday]
|
list[category]
|
[]
|
[]
|
[Sunday, Tuesday, Monday]
|
078_Fires
|
List the unique month names corresponding to the driest 4 percentages of RH.
|
['December', 'August']
|
list[category]
|
[]
|
[]
|
['December', 'February', 'August']
|
078_Fires
|
Provide the unique day names associated with the highest 5 'DMC' values.
|
['Wednesday', 'Monday']
|
list[category]
|
[]
|
[]
|
['Tuesday', 'Monday', 'Sunday', 'Saturday']
|
078_Fires
|
List the unique full names of the days where wind speed has been faster than 5mph.
|
['Monday', 'Thursday', 'Saturday', 'Wednesday', 'Sunday', 'Friday', 'Tuesday']
|
list[category]
|
[]
|
[]
|
['Monday', 'Thursday', 'Saturday', 'Wednesday']
|
078_Fires
|
Is there a transaction where more than 10 products were sold?
|
False
|
boolean
|
[]
|
[]
|
False
|
079_Coffee
|
Is 99 an existing id for a store?
|
False
|
boolean
|
[]
|
[]
|
False
|
079_Coffee
|
Do all rows of this dataset have a different product id?
|
False
|
boolean
|
[]
|
[]
|
False
|
079_Coffee
|
Did we ever sell 20 items in the same transaction?
|
False
|
boolean
|
[]
|
[]
|
False
|
079_Coffee
|
Is there any single product with a price greater than 100?
|
False
|
boolean
|
[]
|
[]
|
False
|
079_Coffee
|
Does the dataset have fewer than 200k rows?
|
True
|
boolean
|
[]
|
[]
|
True
|
079_Coffee
|
Do we have a separate category for drinking chocolate in our stores?
|
True
|
boolean
|
[]
|
[]
|
True
|
079_Coffee
|
Is 5 the ID of the store with the most transactions?
|
False
|
boolean
|
[]
|
[]
|
True
|
079_Coffee
|
What is the location of our most popular store?
|
Hell's Kitchen
|
category
|
[]
|
[]
|
Lower Manhattan
|
079_Coffee
|
Which category is associated with the smallest single product price in the database?
|
Flavours
|
category
|
[]
|
[]
|
Coffee
|
079_Coffee
|
Which are the first three letters of day of the week which has worst performance in terms of revenue?
|
Sat
|
category
|
[]
|
[]
|
Sun
|
079_Coffee
|
What is the product type of the transactions with yielded the most money in revenue? Answer with a category.
|
Premium Beans
|
category
|
[]
|
[]
|
Hot chocolate
|
079_Coffee
|
What are the first three letters of the month that has the highest average products per transaction?
|
Jun
|
category
|
[]
|
[]
|
Jan
|
079_Coffee
|
Which hour has the lowest number of transactions? Answer with a number from 0 to 23.
|
20
|
number
|
[]
|
[]
|
8
|
079_Coffee
|
What is the location of the first purchase row-wise?
|
Lower Manhattan
|
category
|
[]
|
[]
|
Lower Manhattan
|
079_Coffee
|
What is the categorization of the first product row-wise?
|
Coffee
|
category
|
[]
|
[]
|
Coffee
|
079_Coffee
|
What is the maximum amount of products that were sold in a single given transaction?
|
8.0
|
number
|
[]
|
[]
|
2.0
|
079_Coffee
|
How many unique different products do we sell?
|
80.0
|
number
|
[]
|
[]
|
16.0
|
079_Coffee
|
What is the total revenue provided by all the transactions in the dataset?
|
698812.33
|
number
|
[]
|
[]
|
97.3
|
079_Coffee
|
Are our stores open on Sunday?
|
True
|
boolean
|
[]
|
[]
|
True
|
079_Coffee
|
What is the average unitary price in our transactions?
|
3.38
|
number
|
[]
|
[]
|
3.20
|
079_Coffee
|
What is the total number of transactions carried on a Sunday?
|
21096
|
number
|
[]
|
[]
|
20
|
079_Coffee
|
How many active stores do we own according to this dataset?
|
3
|
number
|
[]
|
[]
|
2
|
079_Coffee
|
How much revenue did our best single transaction bring?
|
360
|
number
|
[]
|
[]
|
9
|
079_Coffee
|
How many transactions occurred in the sixth month of the year?
|
35352.0
|
number
|
[]
|
[]
|
0
|
079_Coffee
|
List the 3 largest amount of products bought in one transaction? If there are less than 3 list as many as there are.
|
[8, 8, 8]
|
list[number]
|
[]
|
[]
|
[2, 1]
|
079_Coffee
|
List the different store ids
|
[5, 8, 3]
|
list[number]
|
[]
|
[]
|
[5, 8]
|
079_Coffee
|
List the lowest 4 single-product price values
|
[0.8, 0.8, 0.8, 0.8]
|
list[number]
|
[]
|
[]
|
[2.0, 2.5, 2.55, 3.0]
|
079_Coffee
|
List highest 3 different revenues a given transaction has yielded?
|
[360.0, 72.0, 56.0]
|
list[number]
|
[]
|
[]
|
[9.0, 7.0, 6.2]
|
079_Coffee
|
List the unique numerical weekly values present in this dataset
|
[7, 1, 2, 3, 4, 5, 6]
|
list[number]
|
[]
|
[]
|
[7]
|
079_Coffee
|
What are the different locations where our business is present?
|
["Hell's Kitchen", 'Astoria', 'Lower Manhattan']
|
list[category]
|
[]
|
[]
|
['Lower Manhattan', "Hell's Kitchen"]
|
079_Coffee
|
What are the unique product_category names in transactions with transaction_qty > 5? If there are none answer with an empty list
|
['Coffee beans', 'Branded']
|
list[category]
|
[]
|
[]
|
[]
|
079_Coffee
|
What are the 3 most common product_type names?
|
['Brewed Chai tea', 'Gourmet brewed coffee', 'Barista Espresso']
|
list[category]
|
[]
|
[]
|
['Brewed Chai tea', 'Hot chocolate', 'Gourmet brewed coffee']
|
079_Coffee
|
What are the abbreviated month names where transactions have been present?
|
['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun']
|
list[category]
|
[]
|
[]
|
['Jan']
|
079_Coffee
|
Could you list the unique weekday names our transactions are recorded in?
|
['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']
|
list[category]
|
[]
|
[]
|
['Sun']
|
079_Coffee
|
List the IDs of our 2 most popular stores in terms of number of purchases
|
[8, 3]
|
list[number]
|
[]
|
[]
|
[5, 8]
|
079_Coffee
|
What are the 2 (non-unique) product types associated with the highest 2 revenues of a single given purchase? Answer with a list with 2 elements.
|
['Premium Beans', 'Premium Beans']
|
list[category]
|
[]
|
[]
|
['Hot chocolate', 'Hot chocolate']
|
079_Coffee
|
What is the name of the animal involved in the production of the most expensive coffee-related product that we offer? Answer with a value present in a cell of the database.
|
Civet Cat
|
category
|
[]
|
[]
|
Civet Cat
|
079_Coffee
|
Do we have any book on sale? Answer True or False
|
True
|
boolean
|
[]
|
[]
|
True
|
080_Books
|
Are there any books that are longer than 500 pages? Answer True or False
|
True
|
boolean
|
[]
|
[]
|
True
|
080_Books
|
Did Mr Harari write a book on history? Answer True or False
|
True
|
boolean
|
[]
|
[]
|
True
|
080_Books
|
Does any book have a rating better than 35? Answer True or False
|
True
|
boolean
|
[]
|
[]
|
True
|
080_Books
|
Do we still have enough stock of all books? Answer True or False
|
False
|
boolean
|
[]
|
[]
|
False
|
080_Books
|
A customer asked for a book titled 'The greatest book to ever exist', do we have it in stock? Answer True or False
|
False
|
boolean
|
[]
|
[]
|
False
|
080_Books
|
Is there any book published by Harper Collins for India?
|
True
|
boolean
|
[]
|
[]
|
False
|
080_Books
|
Are there any books with fewer than 100 pages?
|
True
|
boolean
|
[]
|
[]
|
True
|
080_Books
|
Which book is considered the best by our clients?
|
How to Win Friends and Influence People
|
category
|
[]
|
[]
|
Sapiens A Brief History Of Humankind
|
080_Books
|
Assuming all books are similar in reading difficulty, which category does the book that would take longest to read belong to?
|
Novel
|
category
|
[]
|
[]
|
Novel
|
080_Books
|
How many suns were there in the title of Hosseinis' novel? Answer with a number
|
1000
|
number
|
[]
|
[]
|
1000
|
080_Books
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.