query
stringlengths 24
325
| positive
stringlengths 1
580
| negative
stringlengths 1
580
|
---|---|---|
What is the current address of customer Kandy? | current address refers to address_status = 1; address refers to street_number, street_name, city | "Costa Rica" is the country_name |
What is the current address of customer Kandy? | current address refers to address_status = 1; address refers to street_number, street_name, city | "Hirohiko Araki" is the author_name; 'Viz Media' is the publisher_name; percentage = Divide (Count(author_name = 'Hirohiko Araki'), Count(book_id)) * 100 |
What is the current address of customer Kandy? | current address refers to address_status = 1; address refers to street_number, street_name, city | shipped by international method refers to method_name = 'International'; percentage = Divide (Sum(method_name = 'International'), Count(method_name)) * 100 |
What is the current address of customer Kandy? | current address refers to address_status = 1; address refers to street_number, street_name, 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 current address of customer Kandy? | current address refers to address_status = 1; address refers to street_number, street_name, city | "A.J. Ayer" is the author_name; |
What is the current address of customer Kandy? | current address refers to address_status = 1; address refers to street_number, street_name, city | "Ace Hardcover" is the publisher_name |
What is the current address of customer Kandy? | current address refers to address_status = 1; address refers to street_number, street_name, city | most order refers to Max(Count(order_id)); customer refers to first_name, last_name |
What is the current address of customer Kandy? | current address refers to address_status = 1; address refers to street_number, street_name, city | "Dallas" is the city; streets refers to street_name |
What is the current address of customer Kandy? | current address refers to address_status = 1; address refers to street_number, street_name, city | customer refers to first_name, last_name; the most address refers to Max(count(address_id)) |
What is the current address of customer Kandy? | current address refers to address_status = 1; address refers to street_number, street_name, city | books over $13 refers to price > 13; percentage = Divide (Sum (order_id where price > 13), Count (order_id)) * 100 |
What is the title of the most expensive book? | most expensive book refers to Max(price) | oldest book refers to Min(publiation_date) |
What is the title of the most expensive book? | most expensive book refers to Max(price) | books refers to title; the most orders refers to Max(Count(order_id)) |
What is the title of the most expensive book? | most expensive book refers to Max(price) | shipping cost refers to cost; ordered in 2022 refers to order_date LIKE '2022%' |
What is the title of the most expensive book? | most expensive book refers to Max(price) | Japanese book refers to language_name = 'Japanese'; earliest published refers to Min(publication_date) |
What is the title of the most expensive book? | most expensive book refers to Max(price) | placed on 04/10/2022 refers to SUBSTR(order_date, 1, 10) = '2022-04-10'; status of order refers to status_value |
What is the title of the most expensive book? | most expensive book refers to Max(price) | "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 title of the most expensive book? | most expensive book refers to Max(price) | International Standard Book Number refers to isbn13; 'The Mystery in the Rocky Mountains' is the title of the book |
What is the title of the most expensive book? | most expensive book refers to Max(price) | "[email protected]" is the email of customer; ISBN refers to isbn13 |
What is the title of the most expensive book? | most expensive book refers to Max(price) | full name refers to first_name, last_name; last name begin with the letter 'K' refers to last_name LIKE 'K%' |
What is the title of the most expensive book? | most expensive book refers to Max(price) | "Barry Eisler" is the author_name; publisher refers to publisher_name |
What is the status of the orders placed on 04/10/2022? | placed on 04/10/2022 refers to SUBSTR(order_date, 1, 10) = '2022-04-10'; status of order refers to status_value | shipping method preferred the most by customers refers to method_id where Max(Count(method_id)); which shipping method refers to method_name |
What is the status of the orders placed on 04/10/2022? | placed on 04/10/2022 refers to SUBSTR(order_date, 1, 10) = '2022-04-10'; status of order refers to status_value | average spend on book orders = AVG (price) |
What is the status of the orders placed on 04/10/2022? | placed on 04/10/2022 refers to SUBSTR(order_date, 1, 10) = '2022-04-10'; status of order refers to status_value | current address refers to address_status = 1; address refers to street_number, street_name, city |
What is the status of the orders placed on 04/10/2022? | placed on 04/10/2022 refers to SUBSTR(order_date, 1, 10) = '2022-04-10'; status of order refers to status_value | publisher refers to publisher_name; oldest book refers to Min(publication_date) |
What is the status of the orders placed on 04/10/2022? | placed on 04/10/2022 refers to SUBSTR(order_date, 1, 10) = '2022-04-10'; status of order refers to status_value | shipped by international method refers to method_name = 'International'; percentage = Divide (Sum(method_name = 'International'), Count(method_name)) * 100 |
What is the status of the orders placed on 04/10/2022? | placed on 04/10/2022 refers to SUBSTR(order_date, 1, 10) = '2022-04-10'; status of order refers to status_value | books cost 19 dollars and above refers to price > = 19 |
What is the status of the orders placed on 04/10/2022? | placed on 04/10/2022 refers to SUBSTR(order_date, 1, 10) = '2022-04-10'; status of order refers to status_value | street refers to street_name; last number of each street refers to Substr (street_number, -1) |
What is the status of the orders placed on 04/10/2022? | placed on 04/10/2022 refers to SUBSTR(order_date, 1, 10) = '2022-04-10'; status of order refers to status_value | "The Prophet" is the title of the book: total price refers to Sum(price) |
What is the status of the orders placed on 04/10/2022? | placed on 04/10/2022 refers to SUBSTR(order_date, 1, 10) = '2022-04-10'; status of order refers to status_value | "Zilpha Keatley Snyder" is the author_name; average number of book pages refers to AVG(num_pages) |
What is the status of the orders placed on 04/10/2022? | placed on 04/10/2022 refers to SUBSTR(order_date, 1, 10) = '2022-04-10'; status of order refers to status_value | full name refers to first_name, last_name; last name begin with the letter 'K' refers to last_name LIKE 'K%' |
What is the total shipping cost of all the orders made by Page Holsey? Indicate how many of the said orders were ordered in 2022. | shipping cost refers to cost; ordered in 2022 refers to order_date LIKE '2022%' | "2398" is the order_id; time = Subtract(strftime('%Y', status_date), strftime('%Y', order_date)) AS "year" , Subtract(strftime('%m', status_date), strftime('%m', order_date)) AS "month", Subtract (strftime('%d', status_date), strftime('%d', order_date)) AS "day" |
What is the total shipping cost of all the orders made by Page Holsey? Indicate how many of the said orders were ordered in 2022. | shipping cost refers to cost; ordered in 2022 refers to order_date LIKE '2022%' | "Agatha Christie" is the author_name; name of publisher refers to publisher_name; first book refers to Min(publication_date) |
What is the total shipping cost of all the orders made by Page Holsey? Indicate how many of the said orders were ordered in 2022. | shipping cost refers to cost; ordered in 2022 refers to order_date LIKE '2022%' | book with the most pages refers to Max(num_pages) |
What is the total shipping cost of all the orders made by Page Holsey? Indicate how many of the said orders were ordered in 2022. | shipping cost refers to cost; ordered in 2022 refers to order_date LIKE '2022%' | books with the most number of pages refers to Max(num_pages) |
What is the total shipping cost of all the orders made by Page Holsey? Indicate how many of the said orders were ordered in 2022. | shipping cost refers to cost; ordered in 2022 refers to order_date LIKE '2022%' | International shipping order refers to method_name = 'International'; orders on 2022/11/10 refers to order_date LIKE '2022-11-10%'; percentage = Divide (Sum(order_id where method_name = 'International'), Count(order_id)) * 100 |
What is the total shipping cost of all the orders made by Page Holsey? Indicate how many of the said orders were ordered in 2022. | shipping cost refers to cost; ordered in 2022 refers to order_date LIKE '2022%' | "Thomas Nelson" is the publisher_name |
What is the total shipping cost of all the orders made by Page Holsey? Indicate how many of the said orders were ordered in 2022. | shipping cost refers to cost; ordered in 2022 refers to order_date LIKE '2022%' | shipped by international method refers to method_name = 'International'; percentage = Divide (Sum(method_name = 'International'), Count(method_name)) * 100 |
What is the total shipping cost of all the orders made by Page Holsey? Indicate how many of the said orders were ordered in 2022. | shipping cost refers to cost; ordered in 2022 refers to order_date LIKE '2022%' | full name refers to first_name, last_name; last name begin with the letter 'K' refers to last_name LIKE 'K%' |
What is the total shipping cost of all the orders made by Page Holsey? Indicate how many of the said orders were ordered in 2022. | shipping cost refers to cost; ordered in 2022 refers to order_date LIKE '2022%' | total price refers to Sum(price) |
What is the total shipping cost of all the orders made by Page Holsey? Indicate how many of the said orders were ordered in 2022. | shipping cost refers to cost; ordered in 2022 refers to order_date LIKE '2022%' | 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 |
How many percent of orders in 2020 used international shipping? | 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 | "[email protected]" is the email of customer; full name refers to first_name, last_name |
How many percent of orders in 2020 used international shipping? | 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 | International shipping order refers to method_name = 'International'; orders on 2022/11/10 refers to order_date LIKE '2022-11-10%'; percentage = Divide (Sum(order_id where method_name = 'International'), Count(order_id)) * 100 |
How many percent of orders in 2020 used international shipping? | 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 | English book refers to language_name = 'English'; 'Carole Marsh Mysteries' is the publisher_name; average = Divide (Count(language_name = 'English'), Count(book_id)) |
How many percent of orders in 2020 used international shipping? | 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 | complete address refers to street_number, street_name, city, country; "Lazaro Cardenas" is the city |
How many percent of orders in 2020 used international shipping? | 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 | book with the most pages refers to Max(num_pages) |
How many percent of orders in 2020 used international shipping? | 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 | priority method refers to method_name = 'Priority' |
How many percent of orders in 2020 used international shipping? | 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 | "2398" is the order_id; time = Subtract(strftime('%Y', status_date), strftime('%Y', order_date)) AS "year" , Subtract(strftime('%m', status_date), strftime('%m', order_date)) AS "month", Subtract (strftime('%d', status_date), strftime('%d', order_date)) AS "day" |
How many percent of orders in 2020 used international shipping? | 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 | "Priority" and "Express" are both method_name; cost difference = Subtract (Sum(cost where method_name = 'Express'), Sum(cost where method_name 'Priority')) |
How many percent of orders in 2020 used international shipping? | 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 | delivered refers to status_value = 'Delivered'; in 2021 refers to status_date LIKE '2021%' |
How many percent of orders in 2020 used international shipping? | 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 | "Danielle Steel" is the author_name; name of books refers to title |
What is the order price of the book "The Servant Leader" in 2003? | "The Servant Leader" is the title of the book; book in 2003 refers to SUBSTR(publication_date, 1, 4) = '2003' | "Thomas Nelson" is the publisher_name; books with over 300 pages refers to num_pages > 300 |
What is the order price of the book "The Servant Leader" in 2003? | "The Servant Leader" is the title of the book; book in 2003 refers to SUBSTR(publication_date, 1, 4) = '2003' | full name refers to first_name, last_name; 'Baiyin' is the city |
What is the order price of the book "The Servant Leader" in 2003? | "The Servant Leader" is the title of the book; book in 2003 refers to SUBSTR(publication_date, 1, 4) = '2003' | "A.R. Braunmuller" is the author_name |
What is the order price of the book "The Servant Leader" in 2003? | "The Servant Leader" is the title of the book; book in 2003 refers to SUBSTR(publication_date, 1, 4) = '2003' | "AK Press" is the publisher_name |
What is the order price of the book "The Servant Leader" in 2003? | "The Servant Leader" is the title of the book; book in 2003 refers to SUBSTR(publication_date, 1, 4) = '2003' | have been cancelled refers to status_value = 'cancelled'; id refers to order_id |
What is the order price of the book "The Servant Leader" in 2003? | "The Servant Leader" is the title of the book; book in 2003 refers to SUBSTR(publication_date, 1, 4) = '2003' | "ADV Manga" is the publisher_name; books refers to title |
What is the order price of the book "The Servant Leader" in 2003? | "The Servant Leader" is the title of the book; book in 2003 refers to SUBSTR(publication_date, 1, 4) = '2003' | "Hirohiko Araki" is the author_name; 'Viz Media' is the publisher_name; percentage = Divide (Count(author_name = 'Hirohiko Araki'), Count(book_id)) * 100 |
What is the order price of the book "The Servant Leader" in 2003? | "The Servant Leader" is the title of the book; book in 2003 refers to SUBSTR(publication_date, 1, 4) = '2003' | "Spanish" is the language_name; 'Alfaguara' is the publisher_name |
What is the order price of the book "The Servant Leader" in 2003? | "The Servant Leader" is the title of the book; book in 2003 refers to SUBSTR(publication_date, 1, 4) = '2003' | English book refers to language_name = 'English'; 'Carole Marsh Mysteries' is the publisher_name; average = Divide (Count(language_name = 'English'), Count(book_id)) |
What is the order price of the book "The Servant Leader" in 2003? | "The Servant Leader" is the title of the book; book in 2003 refers to SUBSTR(publication_date, 1, 4) = '2003' | "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 name of the publisher with publisher ID 22? | name of publisher refers to publisher_name | "Dallas" is the city; streets refers to street_name |
What is the name of the publisher with publisher ID 22? | name of publisher refers to publisher_name | "Žirovnica" is the city; country refers to country_name |
What is the name of the publisher with publisher ID 22? | name of publisher refers to publisher_name | most order refers to Max(Count(order_id)); customer refers to first_name, last_name |
What is the name of the publisher with publisher ID 22? | name of publisher refers to publisher_name | "76092025986" is the isbn13 |
What is the name of the publisher with publisher ID 22? | name of publisher refers to publisher_name | "Hirohiko Araki" is the author_name; 'Viz Media' is the publisher_name; percentage = Divide (Count(author_name = 'Hirohiko Araki'), Count(book_id)) * 100 |
What is the name of the publisher with publisher ID 22? | name of publisher refers to publisher_name | "Seaward" is the title of the book; pages refers to num_pages |
What is the name of the publisher with publisher ID 22? | name of publisher refers to publisher_name | "El plan infinito" is the title of the book; language refers to language_name |
What is the name of the publisher with publisher ID 22? | name of publisher refers to publisher_name | "Anleitung zum Zickigsein" is the title of the book |
What is the name of the publisher with publisher ID 22? | name of publisher refers to publisher_name | 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 |
What is the name of the publisher with publisher ID 22? | name of publisher refers to publisher_name | "Arabic" is the language_name; book refers to title |
List the title of the earliest published Japanese book. | Japanese book refers to language_name = 'Japanese'; earliest published refers to Min(publication_date) | average spend on book orders = AVG (price) |
List the title of the earliest published Japanese book. | Japanese book refers to language_name = 'Japanese'; earliest published refers to Min(publication_date) | "2398" is the order_id; time = Subtract(strftime('%Y', status_date), strftime('%Y', order_date)) AS "year" , Subtract(strftime('%m', status_date), strftime('%m', order_date)) AS "month", Subtract (strftime('%d', status_date), strftime('%d', order_date)) AS "day" |
List the title of the earliest published Japanese book. | Japanese book refers to language_name = 'Japanese'; earliest published refers to Min(publication_date) | books refers to title; the most orders refers to Max(Count(order_id)) |
List the title of the earliest published Japanese book. | Japanese book refers to language_name = 'Japanese'; earliest published refers to Min(publication_date) | publisher have the word 'book' refers to publisher_name LIKE '%book%' |
List the title of the earliest published Japanese book. | Japanese book refers to language_name = 'Japanese'; earliest published refers to Min(publication_date) | "Seaward" is the title of the book; pages refers to num_pages |
List the title of the earliest published Japanese book. | Japanese book refers to language_name = 'Japanese'; earliest published refers to Min(publication_date) | "Hirohiko Araki" is the author_name; 'Viz Media' is the publisher_name; percentage = Divide (Count(author_name = 'Hirohiko Araki'), Count(book_id)) * 100 |
List the title of the earliest published Japanese book. | Japanese book refers to language_name = 'Japanese'; earliest published refers to Min(publication_date) | in 2021 refers to substr(order_date, 1, 4) = '2021'; priority shipping method refers to method_name = 'Priority' |
List the title of the earliest published Japanese book. | Japanese book refers to language_name = 'Japanese'; earliest published refers to Min(publication_date) | "[email protected]" is the email of customer; ISBN refers to isbn13 |
List the title of the earliest published Japanese book. | Japanese book refers to language_name = 'Japanese'; earliest published refers to Min(publication_date) | shipping cost refers to cost; ordered in 2022 refers to order_date LIKE '2022%' |
List the title of the earliest published Japanese book. | Japanese book refers to language_name = 'Japanese'; earliest published refers to Min(publication_date) | authors refers to author_name; more than 3000 pages refers to num_pages > 3000 |
Give the publisher's name of the books authored by Alan Lee. | "Alan Lee" is the author_name; publisher's name refers to 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 |
Give the publisher's name of the books authored by Alan Lee. | "Alan Lee" is the author_name; publisher's name refers to publisher_name | published in 1995 refers to publication_date LIKE '1995%'; ; list of book refers to title |
Give the publisher's name of the books authored by Alan Lee. | "Alan Lee" is the author_name; publisher's name refers to publisher_name | in 2021 refers to substr(order_date, 1, 4) = '2021'; priority shipping method refers to method_name = 'Priority' |
Give the publisher's name of the books authored by Alan Lee. | "Alan Lee" is the author_name; publisher's name refers to publisher_name | country refers to country_name |
Give the publisher's name of the books authored by Alan Lee. | "Alan Lee" is the author_name; publisher's name refers to publisher_name | "British English" is the language_name of the book |
Give the publisher's name of the books authored by Alan Lee. | "Alan Lee" is the author_name; publisher's name refers to publisher_name | "Thomas Nelson" is the publisher_name; books with over 300 pages refers to num_pages > 300 |
Give the publisher's name of the books authored by Alan Lee. | "Alan Lee" is the author_name; publisher's name refers to 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 |
Give the publisher's name of the books authored by Alan Lee. | "Alan Lee" is the author_name; publisher's name refers to publisher_name | address refers to street_name, city; received the most orders refers to Max(count(dest_address_id)) |
Give the publisher's name of the books authored by Alan Lee. | "Alan Lee" is the author_name; publisher's name refers to publisher_name | 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 |
Give the publisher's name of the books authored by Alan Lee. | "Alan Lee" is the author_name; publisher's name refers to publisher_name | under 300 pages refers to num_pages < 300; 'HarperCollins Publishers" is the publisher_name |
What is the publication date of the book with the most pages? | book with the most pages refers to Max(num_pages) | returned refers to status_value = 'Returned'; in the year 2020 refers to status_date LIKE '%2020%' |
What is the publication date of the book with the most pages? | book with the most pages refers to Max(num_pages) | number of pages refers to num_pages |
What is the publication date of the book with the most pages? | book with the most pages refers to Max(num_pages) | priority method refers to method_name = 'Priority' |
What is the publication date of the book with the most pages? | book with the most pages refers to Max(num_pages) | "Thomas Nelson" is the publisher_name |
What is the publication date of the book with the most pages? | book with the most pages refers to Max(num_pages) | ISBN refers to isbn13; |
What is the publication date of the book with the most pages? | book with the most pages refers to Max(num_pages) | "Abrams" is the publisher_name; author's name refers to author_name |
What is the publication date of the book with the most pages? | book with the most pages refers to Max(num_pages) | International Standard Book Number refers to isbn13; 'The Mystery in the Rocky Mountains' is the title of the book |
What is the publication date of the book with the most pages? | book with the most pages refers to Max(num_pages) | "23755004321" is the isbn13; language refers to language_name |
What is the publication date of the book with the most pages? | book with the most pages refers to Max(num_pages) | "[email protected]" is the email of customer; ISBN refers to isbn13 |
What is the publication date of the book with the most pages? | book with the most pages refers to Max(num_pages) | cancelled refers to status_value = 'Cancelled'; in 2022 refers to SUBSTR(status_date, 1, 4) = '2022' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.