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 books are written by multiple authors? (explicitly mentioned translators and editors count as authors)
|
10
|
number
|
[]
|
[]
|
7
|
080_Books
|
Who was the book with most reviewed book written by?
|
Ernest Hemingway
|
category
|
[]
|
[]
|
Benjamin Graham
|
080_Books
|
If I wanted to buy the shortest book, how long would be the book that I'd pick?
|
80
|
number
|
[]
|
[]
|
80
|
080_Books
|
What is the publisher of the nineteenth edition of Let Us C?
|
BPB Publications (India)
|
category
|
[]
|
[]
|
BPB Publications (India)
|
080_Books
|
How much stock (in number of books) of Ben Graham's work is there in this store?
|
6
|
number
|
[]
|
[]
|
6
|
080_Books
|
Which category does the Quran belong to?
|
Islamic Books
|
category
|
[]
|
[]
|
Islamic Books
|
080_Books
|
According to this database, how many editions has 'The Intelligent Investor' gone through?
|
8
|
number
|
[]
|
[]
|
8
|
080_Books
|
What is the total number of book pages in our database?
|
14087
|
number
|
[]
|
[]
|
8780
|
080_Books
|
If I can read 200 pages a day and I want to pick a book that I can read in half a day, what is the number of books that I can choose from?
|
5
|
number
|
[]
|
[]
|
1
|
080_Books
|
What is the average rating of all books?
|
20.236
|
number
|
[]
|
[]
|
10.65
|
080_Books
|
If we had 30 copies of the arabic reader this morning, how many have we sold?
|
9
|
number
|
[]
|
[]
|
9
|
080_Books
|
How many pages does Sapiens have?
|
498
|
number
|
[]
|
[]
|
498
|
080_Books
|
How many books could be said to fall in the islamic category?
|
2
|
number
|
[]
|
[]
|
2
|
080_Books
|
How many books have been reviewed more than 10 times?
|
12
|
number
|
[]
|
[]
|
3
|
080_Books
|
What is the total number of books that we are selling below their usual price?
|
37
|
number
|
[]
|
[]
|
19
|
080_Books
|
List the page counts of the first five books in the dataset?
|
[498, 640, 80, 512, 492]
|
list[number]
|
[]
|
[]
|
[498, 640, 80, 512, 492]
|
080_Books
|
List the page lengths (in numeric form) of the first five books?
|
[498, 640, 80, 512, 492]
|
list[number]
|
[]
|
[]
|
[1258, 1598, 528, 950, 718]
|
080_Books
|
List the ratings of the top four books with the most reviews?
|
[73.0, 85.0, 50.0, 30.0]
|
list[number]
|
[]
|
[]
|
[30.0, 39.0, 27.0, 13.0]
|
080_Books
|
Provide me with a list containing all the lengths of the books about computer science.
|
[492]
|
list[number]
|
[]
|
[]
|
[492]
|
080_Books
|
List the number of copies left for the first five books.
|
[4, 6, 21, 38, 18]
|
list[number]
|
[]
|
[]
|
[4, 6, 21, 38, 18]
|
080_Books
|
List the ratings of the last five books in the dataset
|
[5.0, 0.0, 27.0, 1.0, 40.0]
|
list[number]
|
[]
|
[]
|
[11.0, 23.0, 27.0, 10.0, 13.0]
|
080_Books
|
List the page counts of books in the 'History and Tradition' category?
|
[498]
|
list[number]
|
[]
|
[]
|
[498]
|
080_Books
|
What is the stock of the book that is closest to running out copies but hasn't yet?.
|
1
|
number
|
[]
|
[]
|
2
|
080_Books
|
List the categories of the first five books.
|
['History and Tradition', ' Business, Investment and Economics', 'Islamic Books', 'Islamic Books', 'Computer Science & Engineering']
|
list[category]
|
[]
|
[]
|
['History and Tradition', ' Business, Investment and Economics', 'Islamic Books', 'Islamic Books', 'Computer Science & Engineering']
|
080_Books
|
List the authors of books that are not on sale today.
|
['Harish Bhat , B.S. Badan', 'Leil Lowndes', 'Dr. Joseph Murphy']
|
list[category]
|
[]
|
[]
|
['Harish Bhat , B.S. Badan']
|
080_Books
|
List the titles of books with fewer than 200 pages.
|
['Madinah Arabic Reader 1', 'How Harsh Mariwala ?Groomed? Marico', 'Train to Pakistan', 'The Old Man and The Sea', 'Metamorphosis', 'Animal Farm', 'The Alchemist', 'Who Moved My Cheese?', 'The Art of War']
|
list[category]
|
[]
|
[]
|
['Madinah Arabic Reader 1', 'How Harsh Mariwala ?Groomed? Marico', 'Train to Pakistan']
|
080_Books
|
List the categories of books with ratings above 20.
|
['History and Tradition', ' Business, Investment and Economics', 'Novel', 'Novel', 'Novel', 'Novel', 'Novel', 'Novel', 'Self-help and meditation', 'Self-help and meditation', 'Self-help and meditation', 'Self-help and meditation', 'Self-help and meditation', 'Self-help and meditation', ' Mystery, Detective, Thriller and Adventure']
|
list[category]
|
[]
|
[]
|
['History and Tradition', ' Business, Investment and Economics', 'Novel', 'Novel']
|
080_Books
|
List the authors of books with more than 10 reviews.
|
['Yuval Noah Harari', 'Benjamin Graham', 'Khaled Hosseini', 'Ernest Hemingway', 'George Orwell', 'Chetan Bhagat', 'Dale Carnegie', 'Spencer Johnson', 'Napoleon Hill', 'Dr. Joseph Murphy', 'Jack Welch, Suzy Welch', 'J. K. Rowling']
|
list[category]
|
[]
|
[]
|
['Yuval Noah Harari', 'Benjamin Graham', 'Khaled Hosseini']
|
080_Books
|
List the 5 categories of the last five books in the dataset.
|
['Self-help and meditation', 'Self-help and meditation', 'Self-help and meditation', 'War Tactics and Foreign Policy', ' Mystery, Detective, Thriller and Adventure']
|
list[category]
|
[]
|
[]
|
['Novel', 'Novel', 'Novel', 'Self-help and meditation', 'Self-help and meditation']
|
080_Books
|
List the editions of books in the 'Business, Investment and Economics' category.
|
['1st Edition', 'Edition', 'Edition', '1st Published']
|
list[category]
|
[]
|
[]
|
['1st Edition', 'Edition', 'Edition', '1st Published']
|
080_Books
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.