query
stringlengths
24
325
positive
stringlengths
1
580
negative
stringlengths
1
580
Indicate the full name of all customers whose last name begins with the letter K.
full name refers to first_name, last_name; last name begin with the letter 'K' refers to last_name LIKE 'K%'
published in 2004 refers to publication_date LIKE '2004%'; books with number of pages greater than 70% of the average number of pages refers to num_pages > Multiply(Avg(num_pages), 0.7); name of publisher refers to publisher_name
Indicate the full name of all customers whose last name begins with the letter K.
full name refers to first_name, last_name; last name begin with the letter 'K' refers to last_name LIKE 'K%'
shipped by international method refers to method_name = 'International'; percentage = Divide (Sum(method_name = 'International'), Count(method_name)) * 100
Indicate the full name of all customers whose last name begins with the letter K.
full name refers to first_name, last_name; last name begin with the letter 'K' refers to last_name LIKE 'K%'
"Hirohiko Araki" is the author_name; 'Viz Media' is the publisher_name; percentage = Divide (Count(author_name = 'Hirohiko Araki'), Count(book_id)) * 100
Indicate the full name of all customers whose last name begins with the letter K.
full name refers to first_name, last_name; last name begin with the letter 'K' refers to last_name LIKE 'K%'
authors named Adam refers to author_name LIKE 'Adam'
Indicate the full name of all customers whose last name begins with the letter K.
full name refers to first_name, last_name; last name begin with the letter 'K' refers to last_name LIKE 'K%'
order updated in 2022 refers to SUBSTR(status_date, 1, 4) = '2022'; has been returned refers to status_value = 'Returned'; percentage = Divide (Count(status_value = 'Returned'), Count(status_value)) * 100
Indicate the full name of all customers whose last name begins with the letter K.
full name refers to first_name, last_name; last name begin with the letter 'K' refers to last_name LIKE 'K%'
Iran as their destination refers to country_name = 'Iran'; orders in 2022 refers to order_date LIKE '2022%'
Indicate the full name of all customers whose last name begins with the letter K.
full name refers to first_name, last_name; last name begin with the letter 'K' refers to last_name LIKE 'K%'
books in English refers to language_name = 'English'
Indicate the full name of all customers whose last name begins with the letter K.
full name refers to first_name, last_name; last name begin with the letter 'K' refers to last_name LIKE 'K%'
"[email protected]" is the email of customer; ISBN refers to isbn13
Indicate the full name of all customers whose last name begins with the letter K.
full name refers to first_name, last_name; last name begin with the letter 'K' refers to last_name LIKE 'K%'
"Abrams" is the publisher_name; author's name refers to author_name
Indicate the full name of all customers whose last name begins with the letter K.
full name refers to first_name, last_name; last name begin with the letter 'K' refers to last_name LIKE 'K%'
country refers to country_name
How many books did A.R. Braunmuller write?
"A.R. Braunmuller" is the author_name
returned refers to status_value = 'Returned'; in the year 2020 refers to status_date LIKE '%2020%'
How many books did A.R. Braunmuller write?
"A.R. Braunmuller" is the author_name
authors refers to author_name; more than 3000 pages refers to num_pages > 3000
How many books did A.R. Braunmuller write?
"A.R. Braunmuller" is the author_name
"Arabic" is the language_name; book refers to title
How many books did A.R. Braunmuller write?
"A.R. Braunmuller" is the author_name
priority method refers to method_name = 'Priority'
How many books did A.R. Braunmuller write?
"A.R. Braunmuller" is the author_name
"The Little House" is the title of book; cheapest order price refers to Min(price)
How many books did A.R. Braunmuller write?
"A.R. Braunmuller" is the author_name
ISBN refers to isbn13;
How many books did A.R. Braunmuller write?
"A.R. Braunmuller" is the author_name
"The Prophet" is the title of the book: who wrote refers to author_name
How many books did A.R. Braunmuller write?
"A.R. Braunmuller" is the author_name
most common domain for the email refers to Max(Count(SUBSTR(email, CHARINDEX('@', email) + 1, length(email) - charindex('@', email))))
How many books did A.R. Braunmuller write?
"A.R. Braunmuller" is the author_name
books with the most number of pages refers to Max(num_pages)
How many books did A.R. Braunmuller write?
"A.R. Braunmuller" is the author_name
average spend on book orders = AVG (price)
What is the total price of all the books ordered by Lucas Wyldbore?
total price refers to Sum(price)
"Danielle Steel" is the author_name; name of books refers to title
What is the total price of all the books ordered by Lucas Wyldbore?
total price refers to Sum(price)
books with the most number of pages refers to Max(num_pages)
What is the total price of all the books ordered by Lucas Wyldbore?
total price refers to Sum(price)
"O Xará" is the title of the book
What is the total price of all the books ordered by Lucas Wyldbore?
total price refers to Sum(price)
"Costa Rica" is the country_name
What is the total price of all the books ordered by Lucas Wyldbore?
total price refers to Sum(price)
"Spanish" is the language_name; 'Alfaguara' is the publisher_name
What is the total price of all the books ordered by Lucas Wyldbore?
total price refers to Sum(price)
publisher have the word 'book' refers to publisher_name LIKE '%book%'
What is the total price of all the books ordered by Lucas Wyldbore?
total price refers to Sum(price)
order updated in 2022 refers to SUBSTR(status_date, 1, 4) = '2022'; has been returned refers to status_value = 'Returned'; percentage = Divide (Count(status_value = 'Returned'), Count(status_value)) * 100
What is the total price of all the books ordered by Lucas Wyldbore?
total price refers to Sum(price)
"[email protected]" is the email of customer; full name refers to first_name, last_name
What is the total price of all the books ordered by Lucas Wyldbore?
total price refers to Sum(price)
ordered at 6/29/2020 7:40:07 PM refers to order_date = '2020-06-29 19:40:07'; shipping method refers to method_name
What is the total price of all the books ordered by Lucas Wyldbore?
total price refers to Sum(price)
"Priority" and "Express" are both method_name; cost difference = Subtract (Sum(cost where method_name = 'Express'), Sum(cost where method_name 'Priority'))
What is the full name of the customers who live in Baiyin city?
full name refers to first_name, last_name; 'Baiyin' is the city
"Priority" and "Express" are both method_name; cost difference = Subtract (Sum(cost where method_name = 'Express'), Sum(cost where method_name 'Priority'))
What is the full name of the customers who live in Baiyin city?
full name refers to first_name, last_name; 'Baiyin' is the city
books in English refers to language_name = 'English'
What is the full name of the customers who live in Baiyin city?
full name refers to first_name, last_name; 'Baiyin' is the city
have been cancelled refers to status_value = 'cancelled'; id refers to order_id
What is the full name of the customers who live in Baiyin city?
full name refers to first_name, last_name; 'Baiyin' is the city
"Hirohiko Araki" is the author_name; on 6/6/2006 refers to publication_date = '2006-06-06'; which book refers to title
What is the full name of the customers who live in Baiyin city?
full name refers to first_name, last_name; 'Baiyin' is the city
country refers to country_name
What is the full name of the customers who live in Baiyin city?
full name refers to first_name, last_name; 'Baiyin' is the city
most expensive book refers to Max(price)
What is the full name of the customers who live in Baiyin city?
full name refers to first_name, last_name; 'Baiyin' is the city
book with cheapest price refers to Min(price); who order means name of customer which refers to first_name, last_name
What is the full name of the customers who live in Baiyin city?
full name refers to first_name, last_name; 'Baiyin' is the city
shipping cost refers to cost; ordered in 2022 refers to order_date LIKE '2022%'
What is the full name of the customers who live in Baiyin city?
full name refers to first_name, last_name; 'Baiyin' is the city
oldest book refers to Min(publiation_date)
What is the full name of the customers who live in Baiyin city?
full name refers to first_name, last_name; 'Baiyin' is the city
Japanese book refers to language_name = 'Japanese'; earliest published refers to Min(publication_date)
List the title of books published by AK Press.
"AK Press" is the publisher_name
"Hirohiko Araki" is the author_name; on 6/6/2006 refers to publication_date = '2006-06-06'; which book refers to title
List the title of books published by AK Press.
"AK Press" is the publisher_name
International Standard Book Number refers to isbn13; 'The Mystery in the Rocky Mountains' is the title of the book
List the title of books published by AK Press.
"AK Press" is the publisher_name
books with a price range of 3 to 5 dollars refers to price BETWEEN 3 AND 5
List the title of books published by AK Press.
"AK Press" is the publisher_name
"The Servant Leader" is the title of the book; book in 2003 refers to SUBSTR(publication_date, 1, 4) = '2003'
List the title of books published by AK Press.
"AK Press" is the publisher_name
"Dallas" is the city; streets refers to street_name
List the title of books published by AK Press.
"AK Press" is the publisher_name
"Abrams" is the publisher_name; author's name refers to author_name
List the title of books published by AK Press.
"AK Press" is the publisher_name
"Zilpha Keatley Snyder" is the author_name; average number of book pages refers to AVG(num_pages)
List the title of books published by AK Press.
"AK Press" is the publisher_name
"The Little House" is the title of book; cheapest order price refers to Min(price)
List the title of books published by AK Press.
"AK Press" is the publisher_name
"[email protected]" is the email of customer; ISBN refers to isbn13
List the title of books published by AK Press.
"AK Press" is the publisher_name
"Brava" is the publisher_name; in 2006 refers to SUBSTR(publication_date, 1, 4) = '2006'
What percentage of the orders placed by Kaleena were shipped by the international method?
shipped by international method refers to method_name = 'International'; percentage = Divide (Sum(method_name = 'International'), Count(method_name)) * 100
"Hirohiko Araki" is the author_name; on 6/6/2006 refers to publication_date = '2006-06-06'; which book refers to title
What percentage of the orders placed by Kaleena were shipped by the international method?
shipped by international method refers to method_name = 'International'; percentage = Divide (Sum(method_name = 'International'), Count(method_name)) * 100
address refers to street_name, city; received the most orders refers to Max(count(dest_address_id))
What percentage of the orders placed by Kaleena were shipped by the international method?
shipped by international method refers to method_name = 'International'; percentage = Divide (Sum(method_name = 'International'), Count(method_name)) * 100
total price refers to Sum(price)
What percentage of the orders placed by Kaleena were shipped by the international method?
shipped by international method refers to method_name = 'International'; percentage = Divide (Sum(method_name = 'International'), Count(method_name)) * 100
number of pages refers to num_pages; average = Divide (Sum(num_pages), Count(book_id))
What percentage of the orders placed by Kaleena were shipped by the international method?
shipped by international method refers to method_name = 'International'; percentage = Divide (Sum(method_name = 'International'), Count(method_name)) * 100
street refers to street_name; last number of each street refers to Substr (street_number, -1)
What percentage of the orders placed by Kaleena were shipped by the international method?
shipped by international method refers to method_name = 'International'; percentage = Divide (Sum(method_name = 'International'), Count(method_name)) * 100
"El plan infinito" is the title of the book; language refers to language_name
What percentage of the orders placed by Kaleena were shipped by the international method?
shipped by international method refers to method_name = 'International'; percentage = Divide (Sum(method_name = 'International'), Count(method_name)) * 100
authors refers to author_name; more than 3000 pages refers to num_pages > 3000
What percentage of the orders placed by Kaleena were shipped by the international method?
shipped by international method refers to method_name = 'International'; percentage = Divide (Sum(method_name = 'International'), Count(method_name)) * 100
in 2021 refers to order_date LIKE '2021%'
What percentage of the orders placed by Kaleena were shipped by the international method?
shipped by international method refers to method_name = 'International'; percentage = Divide (Sum(method_name = 'International'), Count(method_name)) * 100
average spend on book orders = AVG (price)
What percentage of the orders placed by Kaleena were shipped by the international method?
shipped by international method refers to method_name = 'International'; percentage = Divide (Sum(method_name = 'International'), Count(method_name)) * 100
"Zilpha Keatley Snyder" is the author_name; average number of book pages refers to AVG(num_pages)
Name the title of the book with the most number of pages that was published from 1990 to 2000 by publisher Free Press.
books with the most number of pages refers to Max(num_pages); published from 1990 to 2000 refers to SUBSTR(publication_date, 1, 4) BETWEEN '1990' AND '2000'; 'Free Press' is the publisher_name
authors named Adam refers to author_name LIKE 'Adam'
Name the title of the book with the most number of pages that was published from 1990 to 2000 by publisher Free Press.
books with the most number of pages refers to Max(num_pages); published from 1990 to 2000 refers to SUBSTR(publication_date, 1, 4) BETWEEN '1990' AND '2000'; 'Free Press' is the publisher_name
in 2021 refers to order_date LIKE '2021%'
Name the title of the book with the most number of pages that was published from 1990 to 2000 by publisher Free Press.
books with the most number of pages refers to Max(num_pages); published from 1990 to 2000 refers to SUBSTR(publication_date, 1, 4) BETWEEN '1990' AND '2000'; 'Free Press' is the publisher_name
cost greater than $10 refers to price > 10; percentage = Divide (Count(book_id where price >10), Count(book_id)) * 100; full name refers to the composition of first name, lastname
Name the title of the book with the most number of pages that was published from 1990 to 2000 by publisher Free Press.
books with the most number of pages refers to Max(num_pages); published from 1990 to 2000 refers to SUBSTR(publication_date, 1, 4) BETWEEN '1990' AND '2000'; 'Free Press' is the publisher_name
"British English" is the language_name of the book
Name the title of the book with the most number of pages that was published from 1990 to 2000 by publisher Free Press.
books with the most number of pages refers to Max(num_pages); published from 1990 to 2000 refers to SUBSTR(publication_date, 1, 4) BETWEEN '1990' AND '2000'; 'Free Press' is the publisher_name
returned refers to status_value = 'Returned'; in the year 2020 refers to status_date LIKE '%2020%'
Name the title of the book with the most number of pages that was published from 1990 to 2000 by publisher Free Press.
books with the most number of pages refers to Max(num_pages); published from 1990 to 2000 refers to SUBSTR(publication_date, 1, 4) BETWEEN '1990' AND '2000'; 'Free Press' is the publisher_name
"[email protected]" is the email of customer; ISBN refers to isbn13
Name the title of the book with the most number of pages that was published from 1990 to 2000 by publisher Free Press.
books with the most number of pages refers to Max(num_pages); published from 1990 to 2000 refers to SUBSTR(publication_date, 1, 4) BETWEEN '1990' AND '2000'; 'Free Press' is the publisher_name
"Birlinn" is the publisher_name; books have pages around 600 to 700 refers to num_pages BETWEEN 600 AND 700; in 2008 refers to SUBSTR(publication_date, 1, 4) = '2008'
Name the title of the book with the most number of pages that was published from 1990 to 2000 by publisher Free Press.
books with the most number of pages refers to Max(num_pages); published from 1990 to 2000 refers to SUBSTR(publication_date, 1, 4) BETWEEN '1990' AND '2000'; 'Free Press' is the publisher_name
full name refers to first_name, last_name; '55' is the street_number, 'Dorton Pass' is the street_name; 'Huangqiao' is the city
Name the title of the book with the most number of pages that was published from 1990 to 2000 by publisher Free Press.
books with the most number of pages refers to Max(num_pages); published from 1990 to 2000 refers to SUBSTR(publication_date, 1, 4) BETWEEN '1990' AND '2000'; 'Free Press' is the publisher_name
"Alan Lee" is the author_name; publisher's name refers to publisher_name
Name the title of the book with the most number of pages that was published from 1990 to 2000 by publisher Free Press.
books with the most number of pages refers to Max(num_pages); published from 1990 to 2000 refers to SUBSTR(publication_date, 1, 4) BETWEEN '1990' AND '2000'; 'Free Press' is the publisher_name
ordered at 6/29/2020 7:40:07 PM refers to order_date = '2020-06-29 19:40:07'; shipping method refers to method_name
Provide the customers' names who ordered the Fantasmas.
"Fantasmas" is the title of the book; customer names refers to first_name, last_name
language written in refers to language_name;
Provide the customers' names who ordered the Fantasmas.
"Fantasmas" is the title of the book; customer names refers to first_name, last_name
"British English" is the language_name of the book
Provide the customers' names who ordered the Fantasmas.
"Fantasmas" is the title of the book; customer names refers to first_name, last_name
"Seaward" is the title of the book; pages refers to num_pages
Provide the customers' names who ordered the Fantasmas.
"Fantasmas" is the title of the book; customer names refers to first_name, last_name
"AK Press" is the publisher_name
Provide the customers' names who ordered the Fantasmas.
"Fantasmas" is the title of the book; customer names refers to first_name, last_name
"76092025986" is the isbn13
Provide the customers' names who ordered the Fantasmas.
"Fantasmas" is the title of the book; customer names refers to first_name, last_name
"Ace Hardcover" is the publisher_name
Provide the customers' names who ordered the Fantasmas.
"Fantasmas" is the title of the book; customer names refers to first_name, last_name
Japanese book refers to language_name = 'Japanese'; earliest published refers to Min(publication_date)
Provide the customers' names who ordered the Fantasmas.
"Fantasmas" is the title of the book; customer names refers to first_name, last_name
under 300 pages refers to num_pages < 300; 'HarperCollins Publishers" is the publisher_name
Provide the customers' names who ordered the Fantasmas.
"Fantasmas" is the title of the book; customer names refers to first_name, last_name
"Kensington" is the publisher_name;
Provide the customers' names who ordered the Fantasmas.
"Fantasmas" is the title of the book; customer names refers to first_name, last_name
in 2021 refers to substr(order_date, 1, 4) = '2021'; priority shipping method refers to method_name = 'Priority'
Which book has the most number of pages?
books with the most number of pages refers to Max(num_pages)
via international shipping refers to method_name = 'International'
Which book has the most number of pages?
books with the most number of pages refers to Max(num_pages)
"Agatha Christie" is the author_name; name of publisher refers to publisher_name; first book refers to Min(publication_date)
Which book has the most number of pages?
books with the most number of pages refers to Max(num_pages)
books with a price range of 3 to 5 dollars refers to price BETWEEN 3 AND 5
Which book has the most number of pages?
books with the most number of pages refers to Max(num_pages)
published in 2004 refers to publication_date LIKE '2004%'; books with number of pages greater than 70% of the average number of pages refers to num_pages > Multiply(Avg(num_pages), 0.7); name of publisher refers to publisher_name
Which book has the most number of pages?
books with the most number of pages refers to Max(num_pages)
"Anleitung zum Zickigsein" is the title of the book
Which book has the most number of pages?
books with the most number of pages refers to Max(num_pages)
"Hirohiko Araki" is the author_name; on 6/6/2006 refers to publication_date = '2006-06-06'; which book refers to title
Which book has the most number of pages?
books with the most number of pages refers to Max(num_pages)
number of pages refers to num_pages
Which book has the most number of pages?
books with the most number of pages refers to Max(num_pages)
international shipping refers to method_name = 'International'; orders in 2020 refers to order_date = '2020%'; percentage = Divide (Sum(method_name = 'International'), Count(order_id)) * 100
Which book has the most number of pages?
books with the most number of pages refers to Max(num_pages)
"Costa Rica" is the country_name
Which book has the most number of pages?
books with the most number of pages refers to Max(num_pages)
most expensive book refers to Max(price)
How many authors are named Adam?
authors named Adam refers to author_name LIKE 'Adam'
country refers to country_name
How many authors are named Adam?
authors named Adam refers to author_name LIKE 'Adam'
"The Prophet" is the title of the book; highest price refers to Max(price)
How many authors are named Adam?
authors named Adam refers to author_name LIKE 'Adam'
"The Prophet" is the title of the book: who wrote refers to author_name
How many authors are named Adam?
authors named Adam refers to author_name LIKE 'Adam'
books over $13 refers to price > 13; percentage = Divide (Sum (order_id where price > 13), Count (order_id)) * 100
How many authors are named Adam?
authors named Adam refers to author_name LIKE 'Adam'
language written in refers to language_name;
How many authors are named Adam?
authors named Adam refers to author_name LIKE 'Adam'
"Dallas" is the city; streets refers to street_name
How many authors are named Adam?
authors named Adam refers to author_name LIKE 'Adam'
"Arabic" is the language_name; book refers to title
How many authors are named Adam?
authors named Adam refers to author_name LIKE 'Adam'
priority method refers to method_name = 'Priority'
How many authors are named Adam?
authors named Adam refers to author_name LIKE 'Adam'
complete address refers to street_number, street_name, city, country; "Lazaro Cardenas" is the city
How many authors are named Adam?
authors named Adam refers to author_name LIKE 'Adam'
"Thomas Nelson" is the publisher_name; books with over 300 pages refers to num_pages > 300