query
stringlengths 24
325
| positive
stringlengths 1
580
| negative
stringlengths 1
580
|
---|---|---|
Which book by Hirohiko Araki was published on 6/6/2006?
|
"Hirohiko Araki" is the author_name; on 6/6/2006 refers to publication_date = '2006-06-06'; which book refers to title
|
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 by Hirohiko Araki was published on 6/6/2006?
|
"Hirohiko Araki" is the author_name; on 6/6/2006 refers to publication_date = '2006-06-06'; which book refers to title
|
"O Xará" is the title of the book
|
Which book by Hirohiko Araki was published on 6/6/2006?
|
"Hirohiko Araki" is the author_name; on 6/6/2006 refers to publication_date = '2006-06-06'; which book refers to title
|
"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'
|
Which book by Hirohiko Araki was published on 6/6/2006?
|
"Hirohiko Araki" is the author_name; on 6/6/2006 refers to publication_date = '2006-06-06'; which book refers to title
|
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 book by Hirohiko Araki was published on 6/6/2006?
|
"Hirohiko Araki" is the author_name; on 6/6/2006 refers to publication_date = '2006-06-06'; which book refers to title
|
English book refers to language_name = 'English'; 'Carole Marsh Mysteries' is the publisher_name; average = Divide (Count(language_name = 'English'), Count(book_id))
|
Which book by Hirohiko Araki was published on 6/6/2006?
|
"Hirohiko Araki" is the author_name; on 6/6/2006 refers to publication_date = '2006-06-06'; which book refers to title
|
in Japanese refers to language_name = 'Japanese
|
Which book by Hirohiko Araki was published on 6/6/2006?
|
"Hirohiko Araki" is the author_name; on 6/6/2006 refers to publication_date = '2006-06-06'; which book refers to title
|
"9780763628321" is the isbn13
|
Which book by Hirohiko Araki was published on 6/6/2006?
|
"Hirohiko Araki" is the author_name; on 6/6/2006 refers to publication_date = '2006-06-06'; which book refers to title
|
country refers to country_name
|
Which book by Hirohiko Araki was published on 6/6/2006?
|
"Hirohiko Araki" is the author_name; on 6/6/2006 refers to publication_date = '2006-06-06'; which book refers to title
|
books in English refers to language_name = 'English'
|
Which book by Hirohiko Araki was published on 6/6/2006?
|
"Hirohiko Araki" is the author_name; on 6/6/2006 refers to publication_date = '2006-06-06'; which book refers to title
|
"Akira Watanabe" is the author_name
|
What percentage of books written by Hirohiko make up the number of books published by Viz Media?
|
"Hirohiko Araki" is the author_name; 'Viz Media' is the publisher_name; percentage = Divide (Count(author_name = 'Hirohiko Araki'), Count(book_id)) * 100
|
full name refers to first_name, last_name; '55' is the street_number, 'Dorton Pass' is the street_name; 'Huangqiao' is the city
|
What percentage of books written by Hirohiko make up the number of books published by Viz Media?
|
"Hirohiko Araki" is the author_name; 'Viz Media' is the publisher_name; percentage = Divide (Count(author_name = 'Hirohiko Araki'), Count(book_id)) * 100
|
number of pages refers to num_pages; average = Divide (Sum(num_pages), Count(book_id))
|
What percentage of books written by Hirohiko make up the number of books published by Viz Media?
|
"Hirohiko Araki" is the author_name; 'Viz Media' is the publisher_name; percentage = Divide (Count(author_name = 'Hirohiko Araki'), Count(book_id)) * 100
|
"Ace Book" is the publisher_name; English book refers to language_name = 'English'; percentage = Divide (Count(book_id where language_name = 'English'), Count(book_id)) * 100
|
What percentage of books written by Hirohiko make up the number of books published by Viz Media?
|
"Hirohiko Araki" is the author_name; 'Viz Media' is the publisher_name; percentage = Divide (Count(author_name = 'Hirohiko Araki'), Count(book_id)) * 100
|
returned refers to status_value = 'Returned'; in the year 2020 refers to status_date LIKE '%2020%'
|
What percentage of books written by Hirohiko make up the number of books published by Viz Media?
|
"Hirohiko Araki" is the author_name; 'Viz Media' is the publisher_name; percentage = Divide (Count(author_name = 'Hirohiko Araki'), Count(book_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))
|
What percentage of books written by Hirohiko make up the number of books published by Viz Media?
|
"Hirohiko Araki" is the author_name; 'Viz Media' is the publisher_name; percentage = Divide (Count(author_name = 'Hirohiko Araki'), Count(book_id)) * 100
|
books in English refers to language_name = 'English'
|
What percentage of books written by Hirohiko make up the number of books published by Viz Media?
|
"Hirohiko Araki" is the author_name; 'Viz Media' is the publisher_name; percentage = Divide (Count(author_name = 'Hirohiko Araki'), Count(book_id)) * 100
|
books with the most number of pages refers to Max(num_pages)
|
What percentage of books written by Hirohiko make up the number of books published by Viz Media?
|
"Hirohiko Araki" is the author_name; 'Viz Media' is the publisher_name; percentage = Divide (Count(author_name = 'Hirohiko Araki'), Count(book_id)) * 100
|
"Akira Watanabe" is the author_name
|
What percentage of books written by Hirohiko make up the number of books published by Viz Media?
|
"Hirohiko Araki" is the author_name; 'Viz Media' is the publisher_name; percentage = Divide (Count(author_name = 'Hirohiko Araki'), Count(book_id)) * 100
|
books over $13 refers to price > 13; percentage = Divide (Sum (order_id where price > 13), Count (order_id)) * 100
|
What percentage of books written by Hirohiko make up the number of books published by Viz Media?
|
"Hirohiko Araki" is the author_name; 'Viz Media' is the publisher_name; percentage = Divide (Count(author_name = 'Hirohiko Araki'), Count(book_id)) * 100
|
"Kensington" is the publisher_name;
|
How much money on average does Lucas Wyldbore spend on book orders?
|
average spend on book orders = AVG (price)
|
full name refers to first_name, last_name; 'Baiyin' is the city
|
How much money on average does Lucas Wyldbore spend on book orders?
|
average spend on book orders = AVG (price)
|
full name refers to first_name, last_name; 'The Sorrows of Young Werther' is the title of the book
|
How much money on average does Lucas Wyldbore spend on book orders?
|
average spend on book orders = AVG (price)
|
oldest book refers to Min(publiation_date)
|
How much money on average does Lucas Wyldbore spend on book orders?
|
average spend on book orders = AVG (price)
|
"The Illuminati" is the title of book
|
How much money on average does Lucas Wyldbore spend on book orders?
|
average spend on book orders = AVG (price)
|
"Thomas Nelson" is the publisher_name; books with over 300 pages refers to num_pages > 300
|
How much money on average does Lucas Wyldbore spend on book orders?
|
average spend on book orders = AVG (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
|
How much money on average does Lucas Wyldbore spend on book orders?
|
average spend on book orders = AVG (price)
|
books cost 19 dollars and above refers to price > = 19
|
How much money on average does Lucas Wyldbore spend on book orders?
|
average spend on book orders = AVG (price)
|
"Anleitung zum Zickigsein" is the title of the book
|
How much money on average does Lucas Wyldbore spend on book orders?
|
average spend on book orders = AVG (price)
|
"Hirohiko Araki" is the author_name; 'Viz Media' is the publisher_name; percentage = Divide (Count(author_name = 'Hirohiko Araki'), Count(book_id)) * 100
|
How much money on average does Lucas Wyldbore spend on book orders?
|
average spend on book orders = AVG (price)
|
in 2021 refers to substr(order_date, 1, 4) = '2021'; priority shipping method refers to method_name = 'Priority'
|
What is the price of the book with ISBN 9780763628321?
|
"9780763628321" is the isbn13
|
"O Xará" is the title of the book
|
What is the price of the book with ISBN 9780763628321?
|
"9780763628321" is the isbn13
|
full name refers to first_name, last_name; '55' is the street_number, 'Dorton Pass' is the street_name; 'Huangqiao' is the city
|
What is the price of the book with ISBN 9780763628321?
|
"9780763628321" is the isbn13
|
name of publisher refers to publisher_name
|
What is the price of the book with ISBN 9780763628321?
|
"9780763628321" is the isbn13
|
"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 price of the book with ISBN 9780763628321?
|
"9780763628321" is the isbn13
|
"[email protected]" is the email of customer; ISBN refers to isbn13
|
What is the price of the book with ISBN 9780763628321?
|
"9780763628321" is the isbn13
|
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 price of the book with ISBN 9780763628321?
|
"9780763628321" is the isbn13
|
publisher refers to publisher_name; oldest book refers to Min(publication_date)
|
What is the price of the book with ISBN 9780763628321?
|
"9780763628321" is the isbn13
|
"Ace Hardcover" is the publisher_name
|
What is the price of the book with ISBN 9780763628321?
|
"9780763628321" is the isbn13
|
"Barry Eisler" is the author_name; publisher refers to publisher_name
|
What is the price of the book with ISBN 9780763628321?
|
"9780763628321" is the isbn13
|
"Seaward" is the title of the book; pages refers to num_pages
|
What is the most common domain for the email address among all the customers?
|
most common domain for the email refers to Max(Count(SUBSTR(email, CHARINDEX('@', email) + 1, length(email) - charindex('@', email))))
|
number of pages refers to num_pages
|
What is the most common domain for the email address among all the customers?
|
most common domain for the email refers to Max(Count(SUBSTR(email, CHARINDEX('@', email) + 1, length(email) - charindex('@', email))))
|
via international shipping refers to method_name = 'International'
|
What is the most common domain for the email address among all the customers?
|
most common domain for the email refers to Max(Count(SUBSTR(email, CHARINDEX('@', email) + 1, length(email) - charindex('@', email))))
|
authors named Adam refers to author_name LIKE 'Adam'
|
What is the most common domain for the email address among all the customers?
|
most common domain for the email refers to Max(Count(SUBSTR(email, CHARINDEX('@', email) + 1, length(email) - charindex('@', email))))
|
current address refers to address_status = 1; address refers to street_number, street_name, city
|
What is the most common domain for the email address among all the customers?
|
most common domain for the email refers to Max(Count(SUBSTR(email, CHARINDEX('@', email) + 1, length(email) - charindex('@', email))))
|
"Bite Me If You Can (Argeneau #6)" is the title of the book; most expensive price refers to Max(price)
|
What is the most common domain for the email address among all the customers?
|
most common domain for the email refers to Max(Count(SUBSTR(email, CHARINDEX('@', email) + 1, length(email) - charindex('@', email))))
|
number of pages refers to num_pages; average = Divide (Sum(num_pages), Count(book_id))
|
What is the most common domain for the email address among all the customers?
|
most common domain for the email refers to Max(Count(SUBSTR(email, CHARINDEX('@', email) + 1, length(email) - charindex('@', email))))
|
"Thomas Nelson" is the publisher_name
|
What is the most common domain for the email address among all the customers?
|
most common domain for the email refers to Max(Count(SUBSTR(email, CHARINDEX('@', email) + 1, length(email) - charindex('@', email))))
|
"Anleitung zum Zickigsein" is the title of the book
|
What is the most common domain for the email address among all the customers?
|
most common domain for the email refers to Max(Count(SUBSTR(email, CHARINDEX('@', email) + 1, length(email) - charindex('@', email))))
|
books with the most number of pages refers to Max(num_pages)
|
What is the most common domain for the email address among all the customers?
|
most common domain for the email refers to Max(Count(SUBSTR(email, CHARINDEX('@', email) + 1, length(email) - charindex('@', email))))
|
ISBN refers to isbn13;
|
Which shipping method is preferred by customers the most?
|
shipping method preferred the most by customers refers to method_id where Max(Count(method_id)); which shipping method refers to method_name
|
publisher refers to publisher_name; oldest book refers to Min(publication_date)
|
Which shipping method is preferred by customers the most?
|
shipping method preferred the most by customers refers to method_id where Max(Count(method_id)); which shipping method refers to method_name
|
book with cheapest price refers to Min(price); who order means name of customer which refers to first_name, last_name
|
Which shipping method is preferred by customers the most?
|
shipping method preferred the most by customers refers to method_id where Max(Count(method_id)); which shipping method refers to method_name
|
delivered refers to status_value = 'Delivered'; in 2021 refers to status_date LIKE '2021%'
|
Which shipping method is preferred by customers the most?
|
shipping method preferred the most by customers refers to method_id where Max(Count(method_id)); which shipping method refers to method_name
|
address refers to street_name, city; received the most orders refers to Max(count(dest_address_id))
|
Which shipping method is preferred by customers the most?
|
shipping method preferred the most by customers refers to method_id where Max(Count(method_id)); which shipping method refers to method_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 shipping method is preferred by customers the most?
|
shipping method preferred the most by customers refers to method_id where Max(Count(method_id)); which shipping method refers to method_name
|
"The Illuminati" is the title of book
|
Which shipping method is preferred by customers the most?
|
shipping method preferred the most by customers refers to method_id where Max(Count(method_id)); which shipping method refers to method_name
|
"The Prophet" is the title of the book: who wrote refers to author_name
|
Which shipping method is preferred by customers the most?
|
shipping method preferred the most by customers refers to method_id where Max(Count(method_id)); which shipping method refers to method_name
|
"Agatha Christie" is the author_name; name of publisher refers to publisher_name; first book refers to Min(publication_date)
|
Which shipping method is preferred by customers the most?
|
shipping method preferred the most by customers refers to method_id where Max(Count(method_id)); which shipping method refers to method_name
|
order returned refers to status_value = 'Returned'
|
Which shipping method is preferred by customers the most?
|
shipping method preferred the most by customers refers to method_id where Max(Count(method_id)); which shipping method refers to method_name
|
via international shipping refers to method_name = 'International'
|
How many books have been published in Japanese?
|
in Japanese refers to language_name = 'Japanese
|
"ADV Manga" is the publisher_name; books refers to title
|
How many books have been published in Japanese?
|
in Japanese refers to language_name = 'Japanese
|
"Priority" and "Express" are both method_name; cost difference = Subtract (Sum(cost where method_name = 'Express'), Sum(cost where method_name 'Priority'))
|
How many books have been published in Japanese?
|
in Japanese refers to language_name = 'Japanese
|
"A.J. Ayer" is the author_name;
|
How many books have been published in Japanese?
|
in Japanese refers to language_name = 'Japanese
|
published in 1995 refers to publication_date LIKE '1995%'; ; list of book refers to title
|
How many books have been published in Japanese?
|
in Japanese refers to language_name = 'Japanese
|
"Thomas Nelson" is the publisher_name; books with over 300 pages refers to num_pages > 300
|
How many books have been published in Japanese?
|
in Japanese refers to language_name = 'Japanese
|
ISBN13 refers to isbn13; less than 140 pages and more than 135 refers to num_pages > 135 AND num_pages < 140;
|
How many books have been published in Japanese?
|
in Japanese refers to language_name = 'Japanese
|
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 have been published in Japanese?
|
in Japanese refers to language_name = 'Japanese
|
"Arabic" is the language_name; book refers to title
|
How many books have been published in Japanese?
|
in Japanese refers to language_name = 'Japanese
|
"Bite Me If You Can (Argeneau #6)" is the title of the book; most expensive price refers to Max(price)
|
How many books have been published in Japanese?
|
in Japanese refers to language_name = 'Japanese
|
"Zilpha Keatley Snyder" is the author_name; average number of book pages refers to AVG(num_pages)
|
How many customers ordered the book titled "Anleitung zum Zickigsein"
|
"Anleitung zum Zickigsein" is the title of the book
|
"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'
|
How many customers ordered the book titled "Anleitung zum Zickigsein"
|
"Anleitung zum Zickigsein" is the title of the book
|
authors named Adam refers to author_name LIKE 'Adam'
|
How many customers ordered the book titled "Anleitung zum Zickigsein"
|
"Anleitung zum Zickigsein" is the title of the book
|
country refers to country_name
|
How many customers ordered the book titled "Anleitung zum Zickigsein"
|
"Anleitung zum Zickigsein" is the title of the book
|
cancelled refers to status_value = 'Cancelled'; in 2022 refers to SUBSTR(status_date, 1, 4) = '2022'
|
How many customers ordered the book titled "Anleitung zum Zickigsein"
|
"Anleitung zum Zickigsein" is the title of the book
|
street refers to street_name; last number of each street refers to Substr (street_number, -1)
|
How many customers ordered the book titled "Anleitung zum Zickigsein"
|
"Anleitung zum Zickigsein" is the title of the book
|
"Kensington" is the publisher_name;
|
How many customers ordered the book titled "Anleitung zum Zickigsein"
|
"Anleitung zum Zickigsein" is the title of the book
|
publisher refers to publisher_name; oldest book refers to Min(publication_date)
|
How many customers ordered the book titled "Anleitung zum Zickigsein"
|
"Anleitung zum Zickigsein" is the title of the book
|
"British English" is the language_name of the book
|
How many customers ordered the book titled "Anleitung zum Zickigsein"
|
"Anleitung zum Zickigsein" is the title of the book
|
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
|
How many customers ordered the book titled "Anleitung zum Zickigsein"
|
"Anleitung zum Zickigsein" is the title of the book
|
"Costa Rica" is the country_name
|
Provide the publisher name of the book with ISBN 76092025986.
|
"76092025986" is the isbn13
|
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
|
Provide the publisher name of the book with ISBN 76092025986.
|
"76092025986" is the isbn13
|
average spend on book orders = AVG (price)
|
Provide the publisher name of the book with ISBN 76092025986.
|
"76092025986" is the isbn13
|
"[email protected]" is the email of customer; ISBN refers to isbn13
|
Provide the publisher name of the book with ISBN 76092025986.
|
"76092025986" is the isbn13
|
English book refers to language_name = 'English'; 'Carole Marsh Mysteries' is the publisher_name; average = Divide (Count(language_name = 'English'), Count(book_id))
|
Provide the publisher name of the book with ISBN 76092025986.
|
"76092025986" is the isbn13
|
"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"
|
Provide the publisher name of the book with ISBN 76092025986.
|
"76092025986" is the isbn13
|
"Fantasmas" is the title of the book; customer names refers to first_name, last_name
|
Provide the publisher name of the book with ISBN 76092025986.
|
"76092025986" is the isbn13
|
"Dallas" is the city; streets refers to street_name
|
Provide the publisher name of the book with ISBN 76092025986.
|
"76092025986" is the isbn13
|
"First Things First" is the title of the book; author refers to author_name
|
Provide the publisher name of the book with ISBN 76092025986.
|
"76092025986" is the isbn13
|
ISBN refers to isbn13;
|
Provide the publisher name of the book with ISBN 76092025986.
|
"76092025986" is the isbn13
|
in Japanese refers to language_name = 'Japanese
|
What is the highest price at which a customer bought the book 'The Prophet'?
|
"The Prophet" is the title of the book; highest price refers to Max(price)
|
Iran as their destination refers to country_name = 'Iran'; orders in 2022 refers to order_date LIKE '2022%'
|
What is the highest price at which a customer bought the book 'The Prophet'?
|
"The Prophet" is the title of the book; highest price refers to Max(price)
|
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 highest price at which a customer bought the book 'The Prophet'?
|
"The Prophet" is the title of the book; highest price refers to Max(price)
|
books with the most number of pages refers to Max(num_pages)
|
What is the highest price at which a customer bought the book 'The Prophet'?
|
"The Prophet" is the title of the book; highest price refers to Max(price)
|
total price refers to Sum(price)
|
What is the highest price at which a customer bought the book 'The Prophet'?
|
"The Prophet" is the title of the book; highest price refers to Max(price)
|
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 highest price at which a customer bought the book 'The Prophet'?
|
"The Prophet" is the title of the book; highest price refers to Max(price)
|
via international shipping refers to method_name = 'International'
|
What is the highest price at which a customer bought the book 'The Prophet'?
|
"The Prophet" is the title of the book; highest price refers to Max(price)
|
"[email protected]" is the email of customer; ISBN refers to isbn13
|
What is the highest price at which a customer bought the book 'The Prophet'?
|
"The Prophet" is the title of the book; highest price refers to Max(price)
|
most order refers to Max(Count(order_id)); customer refers to first_name, last_name
|
What is the highest price at which a customer bought the book 'The Prophet'?
|
"The Prophet" is the title of the book; highest price refers to Max(price)
|
"The Prophet" is the title of the book: who wrote refers to author_name
|
What is the highest price at which a customer bought the book 'The Prophet'?
|
"The Prophet" is the title of the book; highest price refers to Max(price)
|
"Agatha Christie" is the author_name; name of publisher refers to publisher_name; first book refers to Min(publication_date)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.