query
stringlengths
24
325
positive
stringlengths
1
580
negative
stringlengths
1
580
What is the average of English books among all books published by Carole Marsh Mysteries?
English book refers to language_name = 'English'; 'Carole Marsh Mysteries' is the publisher_name; average = Divide (Count(language_name = 'English'), Count(book_id))
total price refers to Sum(price)
What is the average of English books among all books published by Carole Marsh Mysteries?
English book refers to language_name = 'English'; 'Carole Marsh Mysteries' is the publisher_name; average = Divide (Count(language_name = 'English'), Count(book_id))
have been cancelled refers to status_value = 'cancelled'; id refers to order_id
What is the average of English books among all books published by Carole Marsh Mysteries?
English book refers to language_name = 'English'; 'Carole Marsh Mysteries' is the publisher_name; average = Divide (Count(language_name = 'English'), Count(book_id))
"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 average of English books among all books published by Carole Marsh Mysteries?
English book refers to language_name = 'English'; 'Carole Marsh Mysteries' is the publisher_name; average = Divide (Count(language_name = 'English'), Count(book_id))
"23755004321" is the isbn13; language refers to language_name
What is the average of English books among all books published by Carole Marsh Mysteries?
English book refers to language_name = 'English'; 'Carole Marsh Mysteries' is the publisher_name; average = Divide (Count(language_name = 'English'), Count(book_id))
"9780763628321" is the isbn13
What is the average of English books among all books published by Carole Marsh Mysteries?
English book refers to language_name = 'English'; 'Carole Marsh Mysteries' is the publisher_name; average = Divide (Count(language_name = 'English'), Count(book_id))
"Bite Me If You Can (Argeneau #6)" is the title of the book; most expensive price refers to Max(price)
What is the average of English books among all books published by Carole Marsh Mysteries?
English book refers to language_name = 'English'; 'Carole Marsh Mysteries' is the publisher_name; average = Divide (Count(language_name = 'English'), Count(book_id))
"The Prophet" is the title of the book; highest price refers to Max(price)
What is the average of English books among all books published by Carole Marsh Mysteries?
English book refers to language_name = 'English'; 'Carole Marsh Mysteries' is the publisher_name; average = Divide (Count(language_name = 'English'), Count(book_id))
authors named Adam refers to author_name LIKE 'Adam'
What is the average of English books among all books published by Carole Marsh Mysteries?
English book refers to language_name = 'English'; 'Carole Marsh Mysteries' is the publisher_name; average = Divide (Count(language_name = 'English'), Count(book_id))
"British English" is the language_name of the book
What is the average of English books among all books published by Carole Marsh Mysteries?
English book refers to language_name = 'English'; 'Carole Marsh Mysteries' is the publisher_name; average = Divide (Count(language_name = 'English'), Count(book_id))
"The Illuminati" is the title of book
List down the ISBN of the books purchased by the customer with an email of [email protected].
"[email protected]" is the email of customer; ISBN refers to isbn13
"Thomas Nelson" is the publisher_name; books with over 300 pages refers to num_pages > 300
List down the ISBN of the books purchased by the customer with an email of [email protected].
"[email protected]" is the email of customer; ISBN refers to isbn13
"British English" is the language_name of the book
List down the ISBN of the books purchased by the customer with an email of [email protected].
"[email protected]" is the email of customer; ISBN refers to isbn13
"Priority" and "Express" are both method_name; cost difference = Subtract (Sum(cost where method_name = 'Express'), Sum(cost where method_name 'Priority'))
List down the ISBN of the books purchased by the customer with an email of [email protected].
"[email protected]" is the email of customer; ISBN refers to isbn13
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
List down the ISBN of the books purchased by the customer with an email of [email protected].
"[email protected]" is the email of customer; ISBN refers to isbn13
"The Illuminati" is the title of book
List down the ISBN of the books purchased by the customer with an email of [email protected].
"[email protected]" is the email of customer; ISBN refers to isbn13
"Žirovnica" is the city; country refers to country_name
List down the ISBN of the books purchased by the customer with an email of [email protected].
"[email protected]" is the email of customer; ISBN refers to isbn13
"ADV Manga" is the publisher_name; books refers to title
List down the ISBN of the books purchased by the customer with an email of [email protected].
"[email protected]" is the email of customer; ISBN refers to isbn13
have been cancelled refers to status_value = 'cancelled'; id refers to order_id
List down the ISBN of the books purchased by the customer with an email of [email protected].
"[email protected]" is the email of customer; ISBN refers to isbn13
authors named Adam refers to author_name LIKE 'Adam'
List down the ISBN of the books purchased by the customer with an email of [email protected].
"[email protected]" is the email of customer; ISBN refers to isbn13
"Akira Watanabe" is the author_name
How many publishers have the word "book" in their name?
publisher have the word 'book' refers to publisher_name LIKE '%book%'
"ADV Manga" is the publisher_name; books refers to title
How many publishers have the word "book" in their name?
publisher have the word 'book' refers to publisher_name LIKE '%book%'
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 publishers have the word "book" in their name?
publisher have the word 'book' refers to publisher_name LIKE '%book%'
books over $13 refers to price > 13; percentage = Divide (Sum (order_id where price > 13), Count (order_id)) * 100
How many publishers have the word "book" in their name?
publisher have the word 'book' refers to publisher_name LIKE '%book%'
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
How many publishers have the word "book" in their name?
publisher have the word 'book' refers to publisher_name LIKE '%book%'
author named 'George' refers to author_name = 'George%'
How many publishers have the word "book" in their name?
publisher have the word 'book' refers to publisher_name LIKE '%book%'
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 publishers have the word "book" in their name?
publisher have the word 'book' refers to publisher_name LIKE '%book%'
Japanese book refers to language_name = 'Japanese'; earliest published refers to Min(publication_date)
How many publishers have the word "book" in their name?
publisher have the word 'book' refers to publisher_name LIKE '%book%'
customer refers to first_name, last_name; the most address refers to Max(count(address_id))
How many publishers have the word "book" in their name?
publisher have the word 'book' refers to publisher_name LIKE '%book%'
cancelled refers to status_value = 'Cancelled'; in 2022 refers to SUBSTR(status_date, 1, 4) = '2022'
How many publishers have the word "book" in their name?
publisher have the word 'book' refers to publisher_name LIKE '%book%'
number of pages refers to num_pages
Who ordered the book with the cheapest price?
book with cheapest price refers to Min(price); who order means name of customer which refers to first_name, last_name
via international shipping refers to method_name = 'International'
Who ordered the book with the cheapest price?
book with cheapest price refers to Min(price); who order means name of customer which refers to first_name, last_name
publisher have the word 'book' refers to publisher_name LIKE '%book%'
Who ordered the book with the cheapest price?
book with cheapest price refers to Min(price); who order means name of customer which refers to first_name, last_name
average spend on book orders = AVG (price)
Who ordered the book with the cheapest price?
book with cheapest price refers to Min(price); who order means name of customer which refers to first_name, last_name
priority method refers to method_name = 'Priority'
Who ordered the book with the cheapest price?
book with cheapest price refers to Min(price); who order means name of customer which refers to first_name, last_name
"British English" is the language_name of the book
Who ordered the book with the cheapest price?
book with cheapest price refers to Min(price); who order means name of customer which refers to first_name, last_name
customer refers to first_name, last_name; the most address refers to Max(count(address_id))
Who ordered the book with the cheapest price?
book with cheapest price refers to Min(price); who order means name of customer which refers to first_name, last_name
"Thomas Nelson" is the publisher_name
Who ordered the book with the cheapest price?
book with cheapest price refers to Min(price); who order means name of customer which refers to first_name, last_name
books refers to title; the most orders refers to Max(Count(order_id))
Who ordered the book with the cheapest price?
book with cheapest price refers to Min(price); who order means name of customer which refers to first_name, last_name
"Žirovnica" is the city; country refers to country_name
Who ordered the book with the cheapest price?
book with cheapest price refers to Min(price); who order means name of customer which refers to first_name, last_name
"Danielle Steel" is the author_name; name of books refers to title
How many customers ordered the oldest book?
oldest book refers to Min(publiation_date)
"O Xará" is the title of the book
How many customers ordered the oldest book?
oldest book refers to Min(publiation_date)
full name refers to first_name, last_name; 'Baiyin' is the city
How many customers ordered the oldest book?
oldest book refers to Min(publiation_date)
author named 'George' refers to author_name = 'George%'
How many customers ordered the oldest book?
oldest book refers to Min(publiation_date)
"Danielle Steel" is the author_name; name of books refers to title
How many customers ordered the oldest book?
oldest book refers to Min(publiation_date)
name of publisher refers to publisher_name
How many customers ordered the oldest book?
oldest book refers to Min(publiation_date)
returned refers to status_value = 'Returned'; in the year 2020 refers to status_date LIKE '%2020%'
How many customers ordered the oldest book?
oldest book refers to Min(publiation_date)
"Agatha Christie" is the author_name; name of publisher refers to publisher_name; first book refers to Min(publication_date)
How many customers ordered the oldest book?
oldest book refers to Min(publiation_date)
"Akira Watanabe" is the author_name
How many customers ordered the oldest book?
oldest book refers to Min(publiation_date)
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
How many customers ordered the oldest book?
oldest book refers to Min(publiation_date)
via international shipping refers to method_name = 'International'
Which language was book id 1405 written in?
language written in refers to language_name;
"Zilpha Keatley Snyder" is the author_name; average number of book pages refers to AVG(num_pages)
Which language was book id 1405 written in?
language written in refers to language_name;
"First Things First" is the title of the book; author refers to author_name
Which language was book id 1405 written in?
language written in refers to language_name;
"AK Press" is the publisher_name
Which language was book id 1405 written in?
language written in refers to language_name;
full name refers to first_name, last_name; 'Baiyin' is the city
Which language was book id 1405 written in?
language written in refers to language_name;
delivered refers to status_value = 'Delivered'; in 2021 refers to status_date LIKE '2021%'
Which language was book id 1405 written in?
language written in refers to language_name;
"The Prophet" is the title of the book: total price refers to Sum(price)
Which language was book id 1405 written in?
language written in refers to language_name;
books refers to title; the most orders refers to Max(Count(order_id))
Which language was book id 1405 written in?
language written in refers to language_name;
current address refers to address_status = 1; address refers to street_number, street_name, city
Which language was book id 1405 written in?
language written in refers to language_name;
"Costa Rica" is the country_name
Which language was book id 1405 written in?
language written in refers to language_name;
total price refers to Sum(price)
Provide the International Standard Book Number of the book The Mystery in the Rocky Mountains.
International Standard Book Number refers to isbn13; 'The Mystery in the Rocky Mountains' is the title of the book
shipped by international method refers to method_name = 'International'; percentage = Divide (Sum(method_name = 'International'), Count(method_name)) * 100
Provide the International Standard Book Number of the book The Mystery in the Rocky Mountains.
International Standard Book Number refers to isbn13; 'The Mystery in the Rocky Mountains' is the title of the book
language written in refers to language_name;
Provide the International Standard Book Number of the book The Mystery in the Rocky Mountains.
International Standard Book Number refers to isbn13; 'The Mystery in the Rocky Mountains' is the title of the book
returned refers to status_value = 'Returned'; in the year 2020 refers to status_date LIKE '%2020%'
Provide the International Standard Book Number of the book The Mystery in the Rocky Mountains.
International Standard Book Number refers to isbn13; 'The Mystery in the Rocky Mountains' is the title of the book
"Brava" is the publisher_name; in 2006 refers to SUBSTR(publication_date, 1, 4) = '2006'
Provide the International Standard Book Number of the book The Mystery in the Rocky Mountains.
International Standard Book Number refers to isbn13; 'The Mystery in the Rocky Mountains' is the title of the book
number of pages refers to num_pages
Provide the International Standard Book Number of the book The Mystery in the Rocky Mountains.
International Standard Book Number refers to isbn13; 'The Mystery in the Rocky Mountains' is the title of the book
current address refers to address_status = 1; address refers to street_number, street_name, city
Provide the International Standard Book Number of the book The Mystery in the Rocky Mountains.
International Standard Book Number refers to isbn13; 'The Mystery in the Rocky Mountains' is the title of the book
"Orson Scott Card" is the author_name; released in 2001 refers to publication_date LIKE '2001%'; books refers to title
Provide the International Standard Book Number of the book The Mystery in the Rocky Mountains.
International Standard Book Number refers to isbn13; 'The Mystery in the Rocky Mountains' is the title of the book
"9780763628321" is the isbn13
Provide the International Standard Book Number of the book The Mystery in the Rocky Mountains.
International Standard Book Number refers to isbn13; 'The Mystery in the Rocky Mountains' is the title of the book
ordered at 6/29/2020 7:40:07 PM refers to order_date = '2020-06-29 19:40:07'; shipping method refers to method_name
Provide the International Standard Book Number of the book The Mystery in the Rocky Mountains.
International Standard Book Number refers to isbn13; 'The Mystery in the Rocky Mountains' 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
Of all the classic cars, with a product scale of 1:18, which product is the most ordered product by customers?
classic car is a product line; most ordered product refers to MAX(quantityOrdered);
DIVIDE(SUM(amount) where customerName = 'Atelier graphique'), (SUM(amount)) as percentage where year(paymentDate) = 2004;
Of all the classic cars, with a product scale of 1:18, which product is the most ordered product by customers?
classic car is a product line; most ordered product refers to MAX(quantityOrdered);
1939 'Chevrolet Deluxe Coupe' refers to productName; the highest price refers to MAX(priceEach)
Of all the classic cars, with a product scale of 1:18, which product is the most ordered product by customers?
classic car is a product line; most ordered product refers to MAX(quantityOrdered);
Australia is a country; creditLimit < 20000;
Of all the classic cars, with a product scale of 1:18, which product is the most ordered product by customers?
classic car is a product line; most ordered product refers to MAX(quantityOrdered);
paymentDate BETWEEN '2003-08-01' AND '2004-08-30'; Mini Gifts Distributors Ltd. Is a customer name;
Of all the classic cars, with a product scale of 1:18, which product is the most ordered product by customers?
classic car is a product line; most ordered product refers to MAX(quantityOrdered);
Pay in total refers to SUM(amount);
Of all the classic cars, with a product scale of 1:18, which product is the most ordered product by customers?
classic car is a product line; most ordered product refers to MAX(quantityOrdered);
reportsTO' is the leader of the 'employeeNumber';
Of all the classic cars, with a product scale of 1:18, which product is the most ordered product by customers?
classic car is a product line; most ordered product refers to MAX(quantityOrdered);
Sales representative refers to jobTitle = 'Sales Rep'; country = 'USA';
Of all the classic cars, with a product scale of 1:18, which product is the most ordered product by customers?
classic car is a product line; most ordered product refers to MAX(quantityOrdered);
Cruz & Sons Co. is name of customer; 2003/3/3 refers to orderDate;
Of all the classic cars, with a product scale of 1:18, which product is the most ordered product by customers?
classic car is a product line; most ordered product refers to MAX(quantityOrdered);
Still processing refers to status = 'In Process';
Of all the classic cars, with a product scale of 1:18, which product is the most ordered product by customers?
classic car is a product line; most ordered product refers to MAX(quantityOrdered);
country = 'USA'
Please calculate the total payment amount of customers who come from the USA.
USA is a country; total amount payment refers to SUM(amount);
DIVIDE(SUBTRACT(MSRP, priceEach)), MSRP); product No. S18_3482 refers to productCode = 'S18_3482'
Please calculate the total payment amount of customers who come from the USA.
USA is a country; total amount payment refers to SUM(amount);
Cruz & Sons Co. is name of customer; ordered on 2003-03-03 refers to orderDate;
Please calculate the total payment amount of customers who come from the USA.
USA is a country; total amount payment refers to SUM(amount);
Cruz & Sons Co. is name of customer; the biggest amount refers to MAX(quantityOrdered).
Please calculate the total payment amount of customers who come from the USA.
USA is a country; total amount payment refers to SUM(amount);
last name of contact person starts with M refers to lastName LIKE 'M%'; Germany is a country; not from Germany refers to country<>'Germany';
Please calculate the total payment amount of customers who come from the USA.
USA is a country; total amount payment refers to SUM(amount);
Motorcycles refer to productLine = 'motorcycles'; ordered in 2004 refers to year(orderDate) = 2004;
Please calculate the total payment amount of customers who come from the USA.
USA is a country; total amount payment refers to SUM(amount);
staff of refers to reportsTO; San Francisco is a city;
Please calculate the total payment amount of customers who come from the USA.
USA is a country; total amount payment refers to SUM(amount);
Employee 1370 refers to employeeNumber = '1370';
Please calculate the total payment amount of customers who come from the USA.
USA is a country; total amount payment refers to SUM(amount);
full address = addressLine1+addressLine2; shippedDate = '2005-04-04';
Please calculate the total payment amount of customers who come from the USA.
USA is a country; total amount payment refers to SUM(amount);
orderDate between '2005-01-01' and '2005-12-31'; full address = addressLine1+addressLine2;
Please calculate the total payment amount of customers who come from the USA.
USA is a country; total amount payment refers to SUM(amount);
average amount of payments = DIVIDE(SUM(amount), COUNT(customerNumber); first half of 2014 refers to paymentDate > = '2004-01-01' AND paymentDate < '2004-07-01;
How many Sales Manager who are working in Sydney? List out their email.
Sales Manager is a job title; Sydney is a city;
President refers to the jobTitle;
How many Sales Manager who are working in Sydney? List out their email.
Sales Manager is a job title; Sydney is a city;
Most profitable order can be computed as MAX(MULTIPLY(quantityOrdered, SUBTRACT(priceEach, buyPrice)).
How many Sales Manager who are working in Sydney? List out their email.
Sales Manager is a job title; Sydney is a city;
Credit card does not have a limit refers to creditLimit = 45300;
How many Sales Manager who are working in Sydney? List out their email.
Sales Manager is a job title; Sydney is a city;
full address = addressLine1 + addressLine2; NYC is a shortname of New York City.
How many Sales Manager who are working in Sydney? List out their email.
Sales Manager is a job title; Sydney is a city;
Australia is a country; creditLimit < 20000;
How many Sales Manager who are working in Sydney? List out their email.
Sales Manager is a job title; Sydney is a city;
The greatest expected profit refers to MAX(SUBTRACT(MSRP, buyPrice);
How many Sales Manager who are working in Sydney? List out their email.
Sales Manager is a job title; Sydney is a city;
reportsTO' is the leader of the 'employeeNumber';
How many Sales Manager who are working in Sydney? List out their email.
Sales Manager is a job title; Sydney is a city;
Address comprises addressLine1 and addressLine2;
How many Sales Manager who are working in Sydney? List out their email.
Sales Manager is a job title; Sydney is a city;
Employee 1370 refers to employeeNumber = '1370';
How many Sales Manager who are working in Sydney? List out their email.
Sales Manager is a job title; Sydney is a city;
Steve Patterson is an employee;