query
stringlengths 24
325
| positive
stringlengths 1
580
| negative
stringlengths 1
580
|
---|---|---|
Provide the number of orders by Daisey Lamball in 2021.
|
in 2021 refers to order_date LIKE '2021%'
|
"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
|
Provide the number of orders by Daisey Lamball in 2021.
|
in 2021 refers to order_date LIKE '2021%'
|
most common domain for the email refers to Max(Count(SUBSTR(email, CHARINDEX('@', email) + 1, length(email) - charindex('@', email))))
|
Provide the number of orders by Daisey Lamball in 2021.
|
in 2021 refers to order_date LIKE '2021%'
|
"Girls' Night In" is the title of the book; publisher is the publisher_name
|
Provide the number of orders by Daisey Lamball in 2021.
|
in 2021 refers to order_date LIKE '2021%'
|
"A.R. Braunmuller" is the author_name
|
Provide the number of orders by Daisey Lamball in 2021.
|
in 2021 refers to order_date LIKE '2021%'
|
books over $13 refers to price > 13; percentage = Divide (Sum (order_id where price > 13), Count (order_id)) * 100
|
Provide the number of orders by Daisey Lamball in 2021.
|
in 2021 refers to order_date LIKE '2021%'
|
cancelled refers to status_value = 'Cancelled'; in 2022 refers to SUBSTR(status_date, 1, 4) = '2022'
|
Provide the number of orders by Daisey Lamball in 2021.
|
in 2021 refers to order_date LIKE '2021%'
|
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
|
Provide the number of orders by Daisey Lamball in 2021.
|
in 2021 refers to order_date LIKE '2021%'
|
"Alan Lee" is the author_name; publisher's name refers to publisher_name
|
Provide the number of orders by Daisey Lamball in 2021.
|
in 2021 refers to order_date LIKE '2021%'
|
"[email protected]" is the email of customer; ISBN refers to isbn13
|
Provide the number of orders by Daisey Lamball in 2021.
|
in 2021 refers to order_date LIKE '2021%'
|
"Akira Watanabe" is the author_name
|
What is the name of the publisher who published Agatha Christie's first book?
|
"Agatha Christie" is the author_name; name of publisher refers to publisher_name; first book refers to Min(publication_date)
|
books in English refers to language_name = 'English'
|
What is the name of the publisher who published Agatha Christie's first book?
|
"Agatha Christie" is the author_name; name of publisher refers to publisher_name; first book refers to Min(publication_date)
|
total price refers to Sum(price)
|
What is the name of the publisher who published Agatha Christie's first book?
|
"Agatha Christie" is the author_name; name of publisher refers to publisher_name; first book refers to Min(publication_date)
|
"Žirovnica" is the city; country refers to country_name
|
What is the name of the publisher who published Agatha Christie's first book?
|
"Agatha Christie" is the author_name; name of publisher refers to publisher_name; first book refers to Min(publication_date)
|
street refers to street_name; last number of each street refers to Substr (street_number, -1)
|
What is the name of the publisher who published Agatha Christie's first book?
|
"Agatha Christie" is the author_name; name of publisher refers to publisher_name; first book refers to Min(publication_date)
|
International Standard Book Number refers to isbn13; 'The Mystery in the Rocky Mountains' is the title of the book
|
What is the name of the publisher who published Agatha Christie's first book?
|
"Agatha Christie" is the author_name; name of publisher refers to publisher_name; first book refers to Min(publication_date)
|
"British English" is the language_name of the book
|
What is the name of the publisher who published Agatha Christie's first book?
|
"Agatha Christie" is the author_name; name of publisher refers to publisher_name; first book refers to Min(publication_date)
|
books with a price range of 3 to 5 dollars refers to price BETWEEN 3 AND 5
|
What is the name of the publisher who published Agatha Christie's first book?
|
"Agatha Christie" is the author_name; name of publisher refers to publisher_name; first book refers to Min(publication_date)
|
"Spanish" is the language_name; 'Alfaguara' is the publisher_name
|
What is the name of the publisher who published Agatha Christie's first book?
|
"Agatha Christie" is the author_name; name of publisher refers to publisher_name; first book refers to Min(publication_date)
|
publisher refers to publisher_name; oldest book refers to Min(publication_date)
|
What is the name of the publisher who published Agatha Christie's first book?
|
"Agatha Christie" is the author_name; name of publisher refers to publisher_name; first book refers to Min(publication_date)
|
oldest book refers to Min(publiation_date)
|
How many books written by Akira Watanabe are available on Gravity?
|
"Akira Watanabe" is the author_name
|
"Brava" is the publisher_name; in 2006 refers to SUBSTR(publication_date, 1, 4) = '2006'
|
How many books written by Akira Watanabe are available on Gravity?
|
"Akira Watanabe" is the author_name
|
language written in refers to language_name;
|
How many books written by Akira Watanabe are available on Gravity?
|
"Akira Watanabe" is the author_name
|
"O Xará" is the title of the book
|
How many books written by Akira Watanabe are available on Gravity?
|
"Akira Watanabe" is the author_name
|
"[email protected]" is the email of customer; full name refers to first_name, last_name
|
How many books written by Akira Watanabe are available on Gravity?
|
"Akira Watanabe" is the author_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
|
How many books written by Akira Watanabe are available on Gravity?
|
"Akira Watanabe" is the author_name
|
"Seaward" is the title of the book; pages refers to num_pages
|
How many books written by Akira Watanabe are available on Gravity?
|
"Akira Watanabe" is the author_name
|
"British English" is the language_name of the book
|
How many books written by Akira Watanabe are available on Gravity?
|
"Akira Watanabe" is the author_name
|
"Žirovnica" is the city; country refers to country_name
|
How many books written by Akira Watanabe are available on Gravity?
|
"Akira Watanabe" is the author_name
|
cancelled refers to status_value = 'Cancelled'; in 2022 refers to SUBSTR(status_date, 1, 4) = '2022'
|
How many books written by Akira Watanabe are available on Gravity?
|
"Akira Watanabe" is the author_name
|
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
|
Among Daisey Lamball's orders, how many were shipped via International shipping?
|
via international shipping refers to method_name = 'International'
|
"Barry Eisler" is the author_name; publisher refers to publisher_name
|
Among Daisey Lamball's orders, how many were shipped via International shipping?
|
via international shipping refers to method_name = 'International'
|
"Kensington" is the publisher_name;
|
Among Daisey Lamball's orders, how many were shipped via International shipping?
|
via international shipping refers to method_name = 'International'
|
shipped by international method refers to method_name = 'International'; percentage = Divide (Sum(method_name = 'International'), Count(method_name)) * 100
|
Among Daisey Lamball's orders, how many were shipped via International shipping?
|
via international shipping refers to method_name = 'International'
|
full name refers to first_name, last_name; 'The Sorrows of Young Werther' is the title of the book
|
Among Daisey Lamball's orders, how many were shipped via International shipping?
|
via international shipping refers to method_name = 'International'
|
"Fantasmas" is the title of the book; customer names refers to first_name, last_name
|
Among Daisey Lamball's orders, how many were shipped via International shipping?
|
via international shipping refers to method_name = 'International'
|
"Brava" is the publisher_name; in 2006 refers to SUBSTR(publication_date, 1, 4) = '2006'
|
Among Daisey Lamball's orders, how many were shipped via International shipping?
|
via international shipping refers to method_name = 'International'
|
"Žirovnica" is the city; country refers to country_name
|
Among Daisey Lamball's orders, how many were shipped via International shipping?
|
via international shipping refers to method_name = 'International'
|
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
|
Among Daisey Lamball's orders, how many were shipped via International shipping?
|
via international shipping refers to method_name = 'International'
|
"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'
|
Among Daisey Lamball's orders, how many were shipped via International shipping?
|
via international shipping refers to method_name = 'International'
|
"First Things First" is the title of the book; author refers to author_name
|
What is the shipping method ordered by Nicolette Sadler at 6/29/2020 7:40:07 PM?
|
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
|
street refers to street_name; last number of each street refers to Substr (street_number, -1)
|
What is the shipping method ordered by Nicolette Sadler at 6/29/2020 7:40:07 PM?
|
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
|
in Japanese refers to language_name = 'Japanese
|
What is the shipping method ordered by Nicolette Sadler at 6/29/2020 7:40:07 PM?
|
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
|
"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 shipping method ordered by Nicolette Sadler at 6/29/2020 7:40:07 PM?
|
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
|
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 shipping method ordered by Nicolette Sadler at 6/29/2020 7:40:07 PM?
|
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
|
publisher have the word 'book' refers to publisher_name LIKE '%book%'
|
What is the shipping method ordered by Nicolette Sadler at 6/29/2020 7:40:07 PM?
|
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
|
"[email protected]" is the email of customer; full name refers to first_name, last_name
|
What is the shipping method ordered by Nicolette Sadler at 6/29/2020 7:40:07 PM?
|
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
|
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 shipping method ordered by Nicolette Sadler at 6/29/2020 7:40:07 PM?
|
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
|
"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 shipping method ordered by Nicolette Sadler at 6/29/2020 7:40:07 PM?
|
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
|
"A.R. Braunmuller" is the author_name
|
What is the shipping method ordered by Nicolette Sadler at 6/29/2020 7:40:07 PM?
|
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
|
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))
|
Provide the full name of the customers who have ordered the book The Sorrows of Young Werther.
|
full name refers to first_name, last_name; 'The Sorrows of Young Werther' is the title of the book
|
full name refers to first_name, last_name; 'Baiyin' is the city
|
Provide the full name of the customers who have ordered the book The Sorrows of Young Werther.
|
full name refers to first_name, last_name; 'The Sorrows of Young Werther' is the title of the book
|
"Barry Eisler" is the author_name; publisher refers to publisher_name
|
Provide the full name of the customers who have ordered the book The Sorrows of Young Werther.
|
full name refers to first_name, last_name; 'The Sorrows of Young Werther' is the title of the book
|
ISBN refers to isbn13;
|
Provide the full name of the customers who have ordered the book The Sorrows of Young Werther.
|
full name refers to first_name, last_name; 'The Sorrows of Young Werther' is the title of the book
|
"76092025986" is the isbn13
|
Provide the full name of the customers who have ordered the book The Sorrows of Young Werther.
|
full name refers to first_name, last_name; 'The Sorrows of Young Werther' is the title of the book
|
"The Servant Leader" is the title of the book; book in 2003 refers to SUBSTR(publication_date, 1, 4) = '2003'
|
Provide the full name of the customers who have ordered the book The Sorrows of Young Werther.
|
full name refers to first_name, last_name; 'The Sorrows of Young Werther' is the title of the book
|
shipping cost refers to cost; ordered in 2022 refers to order_date LIKE '2022%'
|
Provide the full name of the customers who have ordered the book The Sorrows of Young Werther.
|
full name refers to first_name, last_name; 'The Sorrows of Young Werther' is the title of the book
|
"O Xará" is the title of the book
|
Provide the full name of the customers who have ordered the book The Sorrows of Young Werther.
|
full name refers to first_name, last_name; 'The Sorrows of Young Werther' is the title of the book
|
"Anleitung zum Zickigsein" is the title of the book
|
Provide the full name of the customers who have ordered the book The Sorrows of Young Werther.
|
full name refers to first_name, last_name; 'The Sorrows of Young Werther' is the title of the book
|
books refers to title; the most orders refers to Max(Count(order_id))
|
Provide the full name of the customers who have ordered the book The Sorrows of Young Werther.
|
full name refers to first_name, last_name; 'The Sorrows of Young Werther' is the title of the book
|
"9780763628321" is the isbn13
|
How many orders did Antonia Poltun return?
|
order returned refers to status_value = 'Returned'
|
"AK Press" is the publisher_name
|
How many orders did Antonia Poltun return?
|
order returned refers to status_value = 'Returned'
|
"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
|
How many orders did Antonia Poltun return?
|
order returned refers to status_value = 'Returned'
|
books cost 19 dollars and above refers to price > = 19
|
How many orders did Antonia Poltun return?
|
order returned refers to status_value = 'Returned'
|
"Alan Lee" is the author_name; publisher's name refers to publisher_name
|
How many orders did Antonia Poltun return?
|
order returned refers to status_value = 'Returned'
|
"Zilpha Keatley Snyder" is the author_name; average number of book pages refers to AVG(num_pages)
|
How many orders did Antonia Poltun return?
|
order returned refers to status_value = 'Returned'
|
under 300 pages refers to num_pages < 300; 'HarperCollins Publishers" is the publisher_name
|
How many orders did Antonia Poltun return?
|
order returned refers to status_value = 'Returned'
|
cancelled refers to status_value = 'Cancelled'; in 2022 refers to SUBSTR(status_date, 1, 4) = '2022'
|
How many orders did Antonia Poltun return?
|
order returned refers to status_value = 'Returned'
|
"The Prophet" is the title of the book: total price refers to Sum(price)
|
How many orders did Antonia Poltun return?
|
order returned refers to status_value = 'Returned'
|
number of pages refers to num_pages
|
How many orders did Antonia Poltun return?
|
order returned refers to status_value = 'Returned'
|
"Priority" and "Express" are both method_name; cost difference = Subtract (Sum(cost where method_name = 'Express'), Sum(cost where method_name 'Priority'))
|
Among the books published by Birlinn in 2008, how many books have pages around 600 to 700?
|
"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'
|
"Zilpha Keatley Snyder" is the author_name; average number of book pages refers to AVG(num_pages)
|
Among the books published by Birlinn in 2008, how many books have pages around 600 to 700?
|
"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'
|
"The Little House" is the title of book; cheapest order price refers to Min(price)
|
Among the books published by Birlinn in 2008, how many books have pages around 600 to 700?
|
"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'
|
"British English" is the language_name of the book
|
Among the books published by Birlinn in 2008, how many books have pages around 600 to 700?
|
"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'
|
"Fantasmas" is the title of the book; customer names refers to first_name, last_name
|
Among the books published by Birlinn in 2008, how many books have pages around 600 to 700?
|
"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'
|
"Akira Watanabe" is the author_name
|
Among the books published by Birlinn in 2008, how many books have pages around 600 to 700?
|
"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'
|
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
|
Among the books published by Birlinn in 2008, how many books have pages around 600 to 700?
|
"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'
|
"The Illuminati" is the title of book
|
Among the books published by Birlinn in 2008, how many books have pages around 600 to 700?
|
"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'
|
placed on 04/10/2022 refers to SUBSTR(order_date, 1, 10) = '2022-04-10'; status of order refers to status_value
|
Among the books published by Birlinn in 2008, how many books have pages around 600 to 700?
|
"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'
|
published at least 30 books refers to Count(book_id) > = 30
|
Among the books published by Birlinn in 2008, how many books have pages around 600 to 700?
|
"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'
|
"Thomas Nelson" is the publisher_name
|
List all the authors named "George".
|
author named 'George' refers to author_name = 'George%'
|
via international shipping refers to method_name = 'International'
|
List all the authors named "George".
|
author named 'George' refers to author_name = 'George%'
|
"Anleitung zum Zickigsein" is the title of the book
|
List all the authors named "George".
|
author named 'George' refers to author_name = 'George%'
|
current address refers to address_status = 1; address refers to street_number, street_name, city
|
List all the authors named "George".
|
author named 'George' refers to author_name = 'George%'
|
ISBN13 refers to isbn13; less than 140 pages and more than 135 refers to num_pages > 135 AND num_pages < 140;
|
List all the authors named "George".
|
author named 'George' refers to author_name = 'George%'
|
"Agatha Christie" is the author_name; name of publisher refers to publisher_name; first book refers to Min(publication_date)
|
List all the authors named "George".
|
author named 'George' refers to author_name = 'George%'
|
"The Prophet" is the title of the book: total price refers to Sum(price)
|
List all the authors named "George".
|
author named 'George' refers to author_name = 'George%'
|
books with a price range of 3 to 5 dollars refers to price BETWEEN 3 AND 5
|
List all the authors named "George".
|
author named 'George' refers to author_name = 'George%'
|
"British English" is the language_name of the book
|
List all the authors named "George".
|
author named 'George' refers to author_name = 'George%'
|
"Barry Eisler" is the author_name; publisher refers to publisher_name
|
List all the authors named "George".
|
author named 'George' refers to author_name = 'George%'
|
"Žirovnica" is the city; country refers to country_name
|
How many orders in 2022 have Iran as their destinations?
|
Iran as their destination refers to country_name = 'Iran'; orders in 2022 refers to order_date LIKE '2022%'
|
book with cheapest price refers to Min(price); who order means name of customer which refers to first_name, last_name
|
How many orders in 2022 have Iran as their destinations?
|
Iran as their destination refers to country_name = 'Iran'; orders in 2022 refers to order_date LIKE '2022%'
|
order returned refers to status_value = 'Returned'
|
How many orders in 2022 have Iran as their destinations?
|
Iran as their destination refers to country_name = 'Iran'; orders in 2022 refers to order_date LIKE '2022%'
|
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))
|
How many orders in 2022 have Iran as their destinations?
|
Iran as their destination refers to country_name = 'Iran'; orders in 2022 refers to order_date LIKE '2022%'
|
"The Prophet" is the title of the book: who wrote refers to author_name
|
How many orders in 2022 have Iran as their destinations?
|
Iran as their destination refers to country_name = 'Iran'; orders in 2022 refers to order_date LIKE '2022%'
|
"British English" is the language_name of the book
|
How many orders in 2022 have Iran as their destinations?
|
Iran as their destination refers to country_name = 'Iran'; orders in 2022 refers to order_date LIKE '2022%'
|
"The Servant Leader" is the title of the book; book in 2003 refers to SUBSTR(publication_date, 1, 4) = '2003'
|
How many orders in 2022 have Iran as their destinations?
|
Iran as their destination refers to country_name = 'Iran'; orders in 2022 refers to order_date LIKE '2022%'
|
customer refers to first_name, last_name; the most address refers to Max(count(address_id))
|
How many orders in 2022 have Iran as their destinations?
|
Iran as their destination refers to country_name = 'Iran'; orders in 2022 refers to order_date LIKE '2022%'
|
publisher have the word 'book' refers to publisher_name LIKE '%book%'
|
How many orders in 2022 have Iran as their destinations?
|
Iran as their destination refers to country_name = 'Iran'; orders in 2022 refers to order_date LIKE '2022%'
|
shipping cost refers to cost; ordered in 2022 refers to order_date LIKE '2022%'
|
How many orders in 2022 have Iran as their destinations?
|
Iran as their destination refers to country_name = 'Iran'; orders 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
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.