query
stringlengths 24
325
| positive
stringlengths 1
580
| negative
stringlengths 1
580
|
---|---|---|
Indicate the complete address of customers located in Lazaro Cardenas.
|
complete address refers to street_number, street_name, city, country; "Lazaro Cardenas" is the city
|
"The Prophet" is the title of the book: who wrote refers to author_name
|
Indicate the complete address of customers located in Lazaro Cardenas.
|
complete address refers to street_number, street_name, city, country; "Lazaro Cardenas" is the city
|
"Anleitung zum Zickigsein" is the title of the book
|
Indicate the complete address of customers located in Lazaro Cardenas.
|
complete address refers to street_number, street_name, city, country; "Lazaro Cardenas" is the city
|
"Arabic" is the language_name; book refers to title
|
Indicate the complete address of customers located in Lazaro Cardenas.
|
complete address refers to street_number, street_name, city, country; "Lazaro Cardenas" is the city
|
full name refers to first_name, last_name; last name begin with the letter 'K' refers to last_name LIKE 'K%'
|
Indicate the complete address of customers located in Lazaro Cardenas.
|
complete address refers to street_number, street_name, city, country; "Lazaro Cardenas" is the city
|
books cost 19 dollars and above refers to price > = 19
|
Indicate the complete address of customers located in Lazaro Cardenas.
|
complete address refers to street_number, street_name, city, country; "Lazaro Cardenas" is the city
|
number of pages refers to num_pages
|
Indicate the complete address of customers located in Lazaro Cardenas.
|
complete address refers to street_number, street_name, city, country; "Lazaro Cardenas" is the city
|
"Hitchhiker's Guide To The Galaxy: The Filming of the Douglas Adams classic" is the title of the book; publisher refers to publisher_name
|
Indicate the complete address of customers located in Lazaro Cardenas.
|
complete address refers to street_number, street_name, city, country; "Lazaro Cardenas" is the city
|
"A.R. Braunmuller" is the author_name
|
Indicate the complete address of customers located in Lazaro Cardenas.
|
complete address refers to street_number, street_name, city, country; "Lazaro Cardenas" is the city
|
publisher have the word 'book' refers to publisher_name LIKE '%book%'
|
Indicate the complete address of customers located in Lazaro Cardenas.
|
complete address refers to street_number, street_name, city, country; "Lazaro Cardenas" is the city
|
delivered refers to status_value = 'Delivered'; in 2021 refers to status_date LIKE '2021%'
|
Give the author's name of the books that cost 19 dollars and above.
|
books cost 19 dollars and above refers to price > = 19
|
priority method refers to method_name = 'Priority'
|
Give the author's name of the books that cost 19 dollars and above.
|
books cost 19 dollars and above refers to price > = 19
|
order returned refers to status_value = 'Returned'
|
Give the author's name of the books that cost 19 dollars and above.
|
books cost 19 dollars and above refers to price > = 19
|
under 300 pages refers to num_pages < 300; 'HarperCollins Publishers" is the publisher_name
|
Give the author's name of the books that cost 19 dollars and above.
|
books cost 19 dollars and above refers to price > = 19
|
"O Xará" is the title of the book
|
Give the author's name of the books that cost 19 dollars and above.
|
books cost 19 dollars and above refers to price > = 19
|
"Priority" and "Express" are both method_name; cost difference = Subtract (Sum(cost where method_name = 'Express'), Sum(cost where method_name 'Priority'))
|
Give the author's name of the books that cost 19 dollars and above.
|
books cost 19 dollars and above refers to price > = 19
|
"AK Press" is the publisher_name
|
Give the author's name of the books that cost 19 dollars and above.
|
books cost 19 dollars and above refers to price > = 19
|
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 author's name of the books that cost 19 dollars and above.
|
books cost 19 dollars and above refers to price > = 19
|
average spend on book orders = AVG (price)
|
Give the author's name of the books that cost 19 dollars and above.
|
books cost 19 dollars and above refers to price > = 19
|
country refers to country_name
|
Give the author's name of the books that cost 19 dollars and above.
|
books cost 19 dollars and above refers to price > = 19
|
full name refers to first_name, last_name; 'Baiyin' is the city
|
Which books were released by Orson Scott Card in 2001?
|
"Orson Scott Card" is the author_name; released in 2001 refers to publication_date LIKE '2001%'; books refers to title
|
"The Servant Leader" is the title of the book; book in 2003 refers to SUBSTR(publication_date, 1, 4) = '2003'
|
Which books were released by Orson Scott Card in 2001?
|
"Orson Scott Card" is the author_name; released in 2001 refers to publication_date LIKE '2001%'; books refers to title
|
shipped by international method refers to method_name = 'International'; percentage = Divide (Sum(method_name = 'International'), Count(method_name)) * 100
|
Which books were released by Orson Scott Card in 2001?
|
"Orson Scott Card" is the author_name; released in 2001 refers to publication_date LIKE '2001%'; books refers to title
|
book with the most pages refers to Max(num_pages)
|
Which books were released by Orson Scott Card in 2001?
|
"Orson Scott Card" is the author_name; released in 2001 refers to publication_date LIKE '2001%'; books refers to title
|
publisher refers to publisher_name; oldest book refers to Min(publication_date)
|
Which books were released by Orson Scott Card in 2001?
|
"Orson Scott Card" is the author_name; released in 2001 refers to publication_date LIKE '2001%'; books refers to title
|
"British English" is the language_name of the book
|
Which books were released by Orson Scott Card in 2001?
|
"Orson Scott Card" is the author_name; released in 2001 refers to publication_date LIKE '2001%'; books refers to title
|
"British English" is the language_name of the book
|
Which books were released by Orson Scott Card in 2001?
|
"Orson Scott Card" is the author_name; released in 2001 refers to publication_date LIKE '2001%'; books refers to title
|
"Priority" and "Express" are both method_name; cost difference = Subtract (Sum(cost where method_name = 'Express'), Sum(cost where method_name 'Priority'))
|
Which books were released by Orson Scott Card in 2001?
|
"Orson Scott Card" is the author_name; released in 2001 refers to publication_date LIKE '2001%'; books refers to title
|
most common domain for the email refers to Max(Count(SUBSTR(email, CHARINDEX('@', email) + 1, length(email) - charindex('@', email))))
|
Which books were released by Orson Scott Card in 2001?
|
"Orson Scott Card" is the author_name; released in 2001 refers to publication_date LIKE '2001%'; books refers to title
|
order returned refers to status_value = 'Returned'
|
Which books were released by Orson Scott Card in 2001?
|
"Orson Scott Card" is the author_name; released in 2001 refers to publication_date LIKE '2001%'; books refers to title
|
"Girls' Night In" is the title of the book; publisher is the publisher_name
|
Identify by their id all the orders that have been cancelled.
|
have been cancelled refers to status_value = 'cancelled'; id refers to order_id
|
language written in refers to language_name;
|
Identify by their id all the orders that have been cancelled.
|
have been cancelled refers to status_value = 'cancelled'; id refers to order_id
|
"Dallas" is the city; streets refers to street_name
|
Identify by their id all the orders that have been cancelled.
|
have been cancelled refers to status_value = 'cancelled'; id refers to order_id
|
books with the most number of pages refers to Max(num_pages)
|
Identify by their id all the orders that have been cancelled.
|
have been cancelled refers to status_value = 'cancelled'; id refers to order_id
|
"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'
|
Identify by their id all the orders that have been cancelled.
|
have been cancelled refers to status_value = 'cancelled'; id refers to order_id
|
"A.R. Braunmuller" is the author_name
|
Identify by their id all the orders that have been cancelled.
|
have been cancelled refers to status_value = 'cancelled'; id refers to order_id
|
shipping method preferred the most by customers refers to method_id where Max(Count(method_id)); which shipping method refers to method_name
|
Identify by their id all the orders that have been cancelled.
|
have been cancelled refers to status_value = 'cancelled'; id refers to order_id
|
ISBN13 refers to isbn13; less than 140 pages and more than 135 refers to num_pages > 135 AND num_pages < 140;
|
Identify by their id all the orders that have been cancelled.
|
have been cancelled refers to status_value = 'cancelled'; id refers to order_id
|
in 2021 refers to substr(order_date, 1, 4) = '2021'; priority shipping method refers to method_name = 'Priority'
|
Identify by their id all the orders that have been cancelled.
|
have been cancelled refers to status_value = 'cancelled'; id refers to order_id
|
"ADV Manga" is the publisher_name; books refers to title
|
Identify by their id all the orders that have been cancelled.
|
have been cancelled refers to status_value = 'cancelled'; id refers to order_id
|
"Girls' Night In" is the title of the book; publisher is the publisher_name
|
What is the address that received the most orders?
|
address refers to street_name, city; received the most orders refers to Max(count(dest_address_id))
|
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 address that received the most orders?
|
address refers to street_name, city; received the most orders refers to Max(count(dest_address_id))
|
books with the most number of pages refers to Max(num_pages)
|
What is the address that received the most orders?
|
address refers to street_name, city; received the most orders refers to Max(count(dest_address_id))
|
ISBN refers to isbn13;
|
What is the address that received the most orders?
|
address refers to street_name, city; received the most orders refers to Max(count(dest_address_id))
|
customer refers to first_name, last_name; the most address refers to Max(count(address_id))
|
What is the address that received the most orders?
|
address refers to street_name, city; received the most orders refers to Max(count(dest_address_id))
|
author named 'George' refers to author_name = 'George%'
|
What is the address that received the most orders?
|
address refers to street_name, city; received the most orders refers to Max(count(dest_address_id))
|
"Costa Rica" is the country_name
|
What is the address that received the most orders?
|
address refers to street_name, city; received the most orders refers to Max(count(dest_address_id))
|
"23755004321" is the isbn13; language refers to language_name
|
What is the address that received the most orders?
|
address refers to street_name, city; received the most orders refers to Max(count(dest_address_id))
|
published at least 30 books refers to Count(book_id) > = 30
|
What is the address that received the most orders?
|
address refers to street_name, city; received the most orders refers to Max(count(dest_address_id))
|
"The Prophet" is the title of the book: who wrote refers to author_name
|
What is the address that received the most orders?
|
address refers to street_name, city; received the most orders refers to Max(count(dest_address_id))
|
"Seaward" is the title of the book; pages refers to num_pages
|
Name the streets in Dallas.
|
"Dallas" is the city; streets refers to street_name
|
street refers to street_name; last number of each street refers to Substr (street_number, -1)
|
Name the streets in Dallas.
|
"Dallas" is the city; streets refers to street_name
|
"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"
|
Name the streets in Dallas.
|
"Dallas" is the city; streets refers to street_name
|
complete address refers to street_number, street_name, city, country; "Lazaro Cardenas" is the city
|
Name the streets in Dallas.
|
"Dallas" is the city; streets refers to street_name
|
language written in refers to language_name;
|
Name the streets in Dallas.
|
"Dallas" is the city; streets refers to street_name
|
"Hirohiko Araki" is the author_name; 'Viz Media' is the publisher_name; percentage = Divide (Count(author_name = 'Hirohiko Araki'), Count(book_id)) * 100
|
Name the streets in Dallas.
|
"Dallas" is the city; streets refers to street_name
|
number of pages refers to num_pages
|
Name the streets in Dallas.
|
"Dallas" is the city; streets refers to street_name
|
books cost 19 dollars and above refers to price > = 19
|
Name the streets in Dallas.
|
"Dallas" is the city; streets refers to street_name
|
"Girls' Night In" is the title of the book; publisher is the publisher_name
|
Name the streets in Dallas.
|
"Dallas" is the city; streets refers to street_name
|
"Hirohiko Araki" is the author_name; on 6/6/2006 refers to publication_date = '2006-06-06'; which book refers to title
|
Name the streets in Dallas.
|
"Dallas" is the city; streets refers to street_name
|
book with cheapest price refers to Min(price); who order means name of customer which refers to first_name, last_name
|
What is the publisher name of the book titled The Illuminati?
|
"The Illuminati" is the title of book
|
delivered refers to status_value = 'Delivered'; in 2021 refers to status_date LIKE '2021%'
|
What is the publisher name of the book titled The Illuminati?
|
"The Illuminati" is the title of book
|
"First Things First" is the title of the book; author refers to author_name
|
What is the publisher name of the book titled The Illuminati?
|
"The Illuminati" is the title of book
|
returned refers to status_value = 'Returned'; in the year 2020 refers to status_date LIKE '%2020%'
|
What is the publisher name of the book titled The Illuminati?
|
"The Illuminati" is the title of book
|
average spend on book orders = AVG (price)
|
What is the publisher name of the book titled The Illuminati?
|
"The Illuminati" is the title of book
|
book purchased by less than 1 dollar refers to price < 1; books with less than 500 pages refers to num_pages < 500; greater than 500 pages refers to num_pages > 500; Difference = Subtract (Count(book_id where num_pages < 500), Count(book_id where num_pages > 500))
|
What is the publisher name of the book titled The Illuminati?
|
"The Illuminati" is the title of book
|
under 300 pages refers to num_pages < 300; 'HarperCollins Publishers" is the publisher_name
|
What is the publisher name of the book titled The Illuminati?
|
"The Illuminati" is the title of book
|
"The Prophet" is the title of the book; highest price refers to Max(price)
|
What is the publisher name of the book titled The Illuminati?
|
"The Illuminati" is the title of book
|
"[email protected]" is the email of customer; ISBN refers to isbn13
|
What is the publisher name of the book titled The Illuminati?
|
"The Illuminati" is the title of book
|
"El plan infinito" is the title of the book; language refers to language_name
|
What is the publisher name of the book titled The Illuminati?
|
"The Illuminati" is the title of book
|
"Žirovnica" is the city; country refers to country_name
|
How many books were published by Brava in 2006?
|
"Brava" is the publisher_name; in 2006 refers to SUBSTR(publication_date, 1, 4) = '2006'
|
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
|
How many books were published by Brava in 2006?
|
"Brava" is the publisher_name; in 2006 refers to SUBSTR(publication_date, 1, 4) = '2006'
|
shipping method preferred the most by customers refers to method_id where Max(Count(method_id)); which shipping method refers to method_name
|
How many books were published by Brava in 2006?
|
"Brava" is the publisher_name; in 2006 refers to SUBSTR(publication_date, 1, 4) = '2006'
|
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 books were published by Brava in 2006?
|
"Brava" is the publisher_name; in 2006 refers to SUBSTR(publication_date, 1, 4) = '2006'
|
number of pages refers to num_pages
|
How many books were published by Brava in 2006?
|
"Brava" is the publisher_name; in 2006 refers to SUBSTR(publication_date, 1, 4) = '2006'
|
"The Little House" is the title of book; cheapest order price refers to Min(price)
|
How many books were published by Brava in 2006?
|
"Brava" is the publisher_name; in 2006 refers to SUBSTR(publication_date, 1, 4) = '2006'
|
book with cheapest price refers to Min(price); who order means name of customer which refers to first_name, last_name
|
How many books were published by Brava in 2006?
|
"Brava" is the publisher_name; in 2006 refers to SUBSTR(publication_date, 1, 4) = '2006'
|
priority method refers to method_name = 'Priority'
|
How many books were published by Brava in 2006?
|
"Brava" is the publisher_name; in 2006 refers to SUBSTR(publication_date, 1, 4) = '2006'
|
number of pages refers to num_pages; average = Divide (Sum(num_pages), Count(book_id))
|
How many books were published by Brava in 2006?
|
"Brava" is the publisher_name; in 2006 refers to SUBSTR(publication_date, 1, 4) = '2006'
|
"Anleitung zum Zickigsein" is the title of the book
|
How many books were published by Brava in 2006?
|
"Brava" is the publisher_name; in 2006 refers to SUBSTR(publication_date, 1, 4) = '2006'
|
"Fantasmas" is the title of the book; customer names refers to first_name, last_name
|
How many orders does the book "O Xará" have?
|
"O Xará" is the title of the book
|
have been cancelled refers to status_value = 'cancelled'; id refers to order_id
|
How many orders does the book "O Xará" have?
|
"O Xará" is the title of the book
|
books cost 19 dollars and above refers to price > = 19
|
How many orders does the book "O Xará" have?
|
"O Xará" is the title of the book
|
"Agatha Christie" is the author_name; name of publisher refers to publisher_name; first book refers to Min(publication_date)
|
How many orders does the book "O Xará" have?
|
"O Xará" is the title of the book
|
"The Prophet" is the title of the book; highest price refers to Max(price)
|
How many orders does the book "O Xará" have?
|
"O Xará" is the title of the book
|
full name refers to first_name, last_name; '55' is the street_number, 'Dorton Pass' is the street_name; 'Huangqiao' is the city
|
How many orders does the book "O Xará" have?
|
"O Xará" is the title of the book
|
ISBN refers to isbn13;
|
How many orders does the book "O Xará" have?
|
"O Xará" is the title of the book
|
address refers to street_name, city; received the most orders refers to Max(count(dest_address_id))
|
How many orders does the book "O Xará" have?
|
"O Xará" is the title of the book
|
"Kensington" is the publisher_name;
|
How many orders does the book "O Xará" have?
|
"O Xará" is the title of the book
|
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
|
How many orders does the book "O Xará" have?
|
"O Xará" is the title of the book
|
"Dallas" is the city; streets refers to street_name
|
Which publisher published Barry Eisler's book?
|
"Barry Eisler" is the author_name; publisher refers to publisher_name
|
book purchased by less than 1 dollar refers to price < 1; books with less than 500 pages refers to num_pages < 500; greater than 500 pages refers to num_pages > 500; Difference = Subtract (Count(book_id where num_pages < 500), Count(book_id where num_pages > 500))
|
Which publisher published Barry Eisler's book?
|
"Barry Eisler" is the author_name; publisher refers to publisher_name
|
book with the most pages refers to Max(num_pages)
|
Which publisher published Barry Eisler's book?
|
"Barry Eisler" is the author_name; publisher refers to publisher_name
|
"British English" is the language_name of the book
|
Which publisher published Barry Eisler's book?
|
"Barry Eisler" is the author_name; publisher refers to publisher_name
|
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
|
Which publisher published Barry Eisler's book?
|
"Barry Eisler" is the author_name; publisher refers to publisher_name
|
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 publisher published Barry Eisler's book?
|
"Barry Eisler" is the author_name; publisher refers to publisher_name
|
ISBN13 refers to isbn13; less than 140 pages and more than 135 refers to num_pages > 135 AND num_pages < 140;
|
Which publisher published Barry Eisler's book?
|
"Barry Eisler" is the author_name; publisher refers to publisher_name
|
book with cheapest price refers to Min(price); who order means name of customer which refers to first_name, last_name
|
Which publisher published Barry Eisler's book?
|
"Barry Eisler" is the author_name; publisher refers to publisher_name
|
full name refers to first_name, last_name; last name begin with the letter 'K' refers to last_name LIKE 'K%'
|
Which publisher published Barry Eisler's book?
|
"Barry Eisler" is the author_name; publisher refers to publisher_name
|
"A.J. Ayer" is the author_name;
|
Which publisher published Barry Eisler's book?
|
"Barry Eisler" is the author_name; publisher refers to publisher_name
|
total price refers to Sum(price)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.