query
stringlengths 24
325
| positive
stringlengths 1
580
| negative
stringlengths 1
580
|
---|---|---|
Among the stores that have ordered the book "Life Without Fear", how many of them are located in Massachusetts?
|
Massachusetts is a state
|
most expensive book refers to MAX(price)
|
Among the stores that have ordered the book "Life Without Fear", how many of them are located in Massachusetts?
|
Massachusetts is a state
|
published by refers to pub_name
|
Among the stores that have ordered the book "Life Without Fear", how many of them are located in Massachusetts?
|
Massachusetts is a state
|
Massachusetts is a state; business books refers to type = 'business'
|
Among the stores that have ordered the book "Life Without Fear", how many of them are located in Massachusetts?
|
Massachusetts is a state
|
not located at USA refers to country! = 'USA'
|
Among the stores that have ordered the book "Life Without Fear", how many of them are located in Massachusetts?
|
Massachusetts is a state
|
name the publisher refers to pub_name
|
Among the stores that have ordered the book "Life Without Fear", how many of them are located in Massachusetts?
|
Massachusetts is a state
|
qty is abbreviation for quantity; average quantity order = AVG(qty)
|
Among the stores that have ordered the book "Life Without Fear", how many of them are located in Massachusetts?
|
Massachusetts is a state
|
job level refers to job_lvl; YEAR(hire_date) between 1990 and 1995
|
Among the stores that have ordered the book "Life Without Fear", how many of them are located in Massachusetts?
|
Massachusetts is a state
|
max level for his position refers to max_lvl; job level refers to job_lvl; level left to reach the max = SUBTRACT(max_lvl, job_lvl)
|
Among the stores that have ordered the book "Life Without Fear", how many of them are located in Massachusetts?
|
Massachusetts is a state
|
qty is abbreviation for quantity; sold more than average refers to qty > AVG(qty); california refers to state = 'CA"
|
Among the stores that have ordered the book "Life Without Fear", how many of them are located in Massachusetts?
|
Massachusetts is a state
|
Life Without Fear is book title
|
List the title, price and publication date for all sales with 'ON invoice' payment terms.
|
publication date refers to pubdate; payment terms refers to payterms; payterms = 'ON invoice'
|
year to date sales refers to ytd_sales; about the title refers to notes
|
List the title, price and publication date for all sales with 'ON invoice' payment terms.
|
publication date refers to pubdate; payment terms refers to payterms; payterms = 'ON invoice'
|
store name refers to stor_name
|
List the title, price and publication date for all sales with 'ON invoice' payment terms.
|
publication date refers to pubdate; payment terms refers to payterms; payterms = 'ON invoice'
|
Marketing manager is a job description which refers to job_desc; US publisher refers publisher in the US where country = 'USA'; non-US publishers refers publisher not in the US where country! = 'USA'; job level refers to job_lvl; average level = AVG(job_lvl)
|
List the title, price and publication date for all sales with 'ON invoice' payment terms.
|
publication date refers to pubdate; payment terms refers to payterms; payterms = 'ON invoice'
|
qty is abbreviation for quantity; average quantity order = AVG(qty)
|
List the title, price and publication date for all sales with 'ON invoice' payment terms.
|
publication date refers to pubdate; payment terms refers to payterms; payterms = 'ON invoice'
|
name the publisher refers to pub_name
|
List the title, price and publication date for all sales with 'ON invoice' payment terms.
|
publication date refers to pubdate; payment terms refers to payterms; payterms = 'ON invoice'
|
year to date sales refers to ytd_sales; on contract refers to contract = 1
|
List the title, price and publication date for all sales with 'ON invoice' payment terms.
|
publication date refers to pubdate; payment terms refers to payterms; payterms = 'ON invoice'
|
most title published refers to MAX(count(title_id); published in 1991 refers to YEAR(pubdate) = 1991
|
List the title, price and publication date for all sales with 'ON invoice' payment terms.
|
publication date refers to pubdate; payment terms refers to payterms; payterms = 'ON invoice'
|
publisher name refers to pub_name
|
List the title, price and publication date for all sales with 'ON invoice' payment terms.
|
publication date refers to pubdate; payment terms refers to payterms; payterms = 'ON invoice'
|
are over $15 refers to price>15
|
List the title, price and publication date for all sales with 'ON invoice' payment terms.
|
publication date refers to pubdate; payment terms refers to payterms; payterms = 'ON invoice'
|
qty is abbreviation for quantity; sells the best mean with the most sales quantity; MAX(qty)
|
How many levels are there left for Diego W Roel to reach if he/she could go to the max level for his/her position?
|
max level for his position refers to max_lvl; job level refers to job_lvl; level left to reach the max = SUBTRACT(max_lvl, job_lvl)
|
most expensive book refers to MAX(price)
|
How many levels are there left for Diego W Roel to reach if he/she could go to the max level for his/her position?
|
max level for his position refers to max_lvl; job level refers to job_lvl; level left to reach the max = SUBTRACT(max_lvl, job_lvl)
|
Eric the Read Books is a publisher which refers to pub_name;
|
How many levels are there left for Diego W Roel to reach if he/she could go to the max level for his/her position?
|
max level for his position refers to max_lvl; job level refers to job_lvl; level left to reach the max = SUBTRACT(max_lvl, job_lvl)
|
most year to date sales refers to MAX(ytd_sales); range limit means high range which refers to hirange; the 20000 range refers to hirange<20000
|
How many levels are there left for Diego W Roel to reach if he/she could go to the max level for his/her position?
|
max level for his position refers to max_lvl; job level refers to job_lvl; level left to reach the max = SUBTRACT(max_lvl, job_lvl)
|
sold on refers to ord_date
|
How many levels are there left for Diego W Roel to reach if he/she could go to the max level for his/her position?
|
max level for his position refers to max_lvl; job level refers to job_lvl; level left to reach the max = SUBTRACT(max_lvl, job_lvl)
|
hired before year 1990 refers to YEAR(hire_date)<1990
|
How many levels are there left for Diego W Roel to reach if he/she could go to the max level for his/her position?
|
max level for his position refers to max_lvl; job level refers to job_lvl; level left to reach the max = SUBTRACT(max_lvl, job_lvl)
|
lowest job level refers to MIN(job_lvl)
|
How many levels are there left for Diego W Roel to reach if he/she could go to the max level for his/her position?
|
max level for his position refers to max_lvl; job level refers to job_lvl; level left to reach the max = SUBTRACT(max_lvl, job_lvl)
|
publisher refers to pub_name; about the title refers to notes
|
How many levels are there left for Diego W Roel to reach if he/she could go to the max level for his/her position?
|
max level for his position refers to max_lvl; job level refers to job_lvl; level left to reach the max = SUBTRACT(max_lvl, job_lvl)
|
year to date sales refers to ytd_sales; average order = AVG(ytd_sales)
|
How many levels are there left for Diego W Roel to reach if he/she could go to the max level for his/her position?
|
max level for his position refers to max_lvl; job level refers to job_lvl; level left to reach the max = SUBTRACT(max_lvl, job_lvl)
|
publisher name refers to pub_name
|
How many levels are there left for Diego W Roel to reach if he/she could go to the max level for his/her position?
|
max level for his position refers to max_lvl; job level refers to job_lvl; level left to reach the max = SUBTRACT(max_lvl, job_lvl)
|
most title published refers to MAX(count(title_id); published in 1991 refers to YEAR(pubdate) = 1991
|
How many sales did the store in Remulade make?
|
Remulade is a city; sales in the store refers to ord_num
|
not located at USA refers to country! = 'USA'
|
How many sales did the store in Remulade make?
|
Remulade is a city; sales in the store refers to ord_num
|
lowest job level refers to MIN(job_lvl)
|
How many sales did the store in Remulade make?
|
Remulade is a city; sales in the store refers to ord_num
|
publisher name refers to pub_name; publication date refers to pubdate; published in year 1991 refers to YEAR(pubdate) = 1991
|
How many sales did the store in Remulade make?
|
Remulade is a city; sales in the store refers to ord_num
|
qty is abbreviation for quantity; average quantity order = AVG(qty)
|
How many sales did the store in Remulade make?
|
Remulade is a city; sales in the store refers to ord_num
|
job level refers to job_lvl
|
How many sales did the store in Remulade make?
|
Remulade is a city; sales in the store refers to ord_num
|
qty is abbreviation for quantity; sells the best mean with the most sales quantity; MAX(qty)
|
How many sales did the store in Remulade make?
|
Remulade is a city; sales in the store refers to ord_num
|
qty is abbreviation for quantity; sold more than average refers to qty > AVG(qty); california refers to state = 'CA"
|
How many sales did the store in Remulade make?
|
Remulade is a city; sales in the store refers to ord_num
|
max level for his position refers to max_lvl; job level refers to job_lvl; level left to reach the max = SUBTRACT(max_lvl, job_lvl)
|
How many sales did the store in Remulade make?
|
Remulade is a city; sales in the store refers to ord_num
|
Eric the Read Books is a publisher which refers to pub_name;
|
How many sales did the store in Remulade make?
|
Remulade is a city; sales in the store refers to ord_num
|
publisher refers to pub_name; about the title refers to notes
|
Please list the stores that ordered the book "Life Without Fear".
|
store name refers to stor_name
|
US publisher refers publisher in the US where country = 'USA';
|
Please list the stores that ordered the book "Life Without Fear".
|
store name refers to stor_name
|
qty is abbreviation for quantity; sells the best mean with the most sales quantity; MAX(qty)
|
Please list the stores that ordered the book "Life Without Fear".
|
store name refers to stor_name
|
sold on refers to ord_date
|
Please list the stores that ordered the book "Life Without Fear".
|
store name refers to stor_name
|
Massachusetts is a state
|
Please list the stores that ordered the book "Life Without Fear".
|
store name refers to stor_name
|
business title refers to title under business where type = 'business'
|
Please list the stores that ordered the book "Life Without Fear".
|
store name refers to stor_name
|
qty is abbreviation for quantity; average quantity order = AVG(qty)
|
Please list the stores that ordered the book "Life Without Fear".
|
store name refers to stor_name
|
qty is abbreviation for quantity; bestseller means with the most sales quantity; MAX(qty)
|
Please list the stores that ordered the book "Life Without Fear".
|
store name refers to stor_name
|
order happened on refers to ord_date
|
Please list the stores that ordered the book "Life Without Fear".
|
store name refers to stor_name
|
highest job level refers to MAX(job_lvl); hired the earliest refers to MIN(hire_date)
|
Please list the stores that ordered the book "Life Without Fear".
|
store name refers to stor_name
|
job level refers to job_lvl; YEAR(hire_date) between 1990 and 1995
|
How many books on business have the bookstores in Massachusetts ordered?
|
Massachusetts is a state; business books refers to type = 'business'
|
published by refers to pub_name
|
How many books on business have the bookstores in Massachusetts ordered?
|
Massachusetts is a state; business books refers to type = 'business'
|
not located at USA refers to country! = 'USA'
|
How many books on business have the bookstores in Massachusetts ordered?
|
Massachusetts is a state; business books refers to type = 'business'
|
year to date sales refers to ytd_sales; about the title refers to notes
|
How many books on business have the bookstores in Massachusetts ordered?
|
Massachusetts is a state; business books refers to type = 'business'
|
qty is abbreviation for quantity; sells the best mean with the most sales quantity; MAX(qty)
|
How many books on business have the bookstores in Massachusetts ordered?
|
Massachusetts is a state; business books refers to type = 'business'
|
most year to date sales refers to MAX(ytd_sales); range limit means high range which refers to hirange; the 20000 range refers to hirange<20000
|
How many books on business have the bookstores in Massachusetts ordered?
|
Massachusetts is a state; business books refers to type = 'business'
|
highest job level refers to MAX(job_lvl); hired the earliest refers to MIN(hire_date)
|
How many books on business have the bookstores in Massachusetts ordered?
|
Massachusetts is a state; business books refers to type = 'business'
|
business title refers to title under business where type = 'business'
|
How many books on business have the bookstores in Massachusetts ordered?
|
Massachusetts is a state; business books refers to type = 'business'
|
most expensive book refers to MAX(price)
|
How many books on business have the bookstores in Massachusetts ordered?
|
Massachusetts is a state; business books refers to type = 'business'
|
job level refers to job_lvl; YEAR(hire_date) between 1990 and 1995
|
How many books on business have the bookstores in Massachusetts ordered?
|
Massachusetts is a state; business books refers to type = 'business'
|
publisher refers to pub_name; about the title refers to notes
|
What's the royalty for the bestseller book?
|
qty is abbreviation for quantity; bestseller means with the most sales quantity; MAX(qty)
|
are over $15 refers to price>15
|
What's the royalty for the bestseller book?
|
qty is abbreviation for quantity; bestseller means with the most sales quantity; MAX(qty)
|
max level for his position refers to max_lvl; job level refers to job_lvl; level left to reach the max = SUBTRACT(max_lvl, job_lvl)
|
What's the royalty for the bestseller book?
|
qty is abbreviation for quantity; bestseller means with the most sales quantity; MAX(qty)
|
job title means job description which refers to job_desc
|
What's the royalty for the bestseller book?
|
qty is abbreviation for quantity; bestseller means with the most sales quantity; MAX(qty)
|
publisher name refers to pub_name;
|
What's the royalty for the bestseller book?
|
qty is abbreviation for quantity; bestseller means with the most sales quantity; MAX(qty)
|
publisher name refers to pub_name; publication date refers to pubdate; published in year 1991 refers to YEAR(pubdate) = 1991
|
What's the royalty for the bestseller book?
|
qty is abbreviation for quantity; bestseller means with the most sales quantity; MAX(qty)
|
most title published refers to MAX(count(title_id); published in 1991 refers to YEAR(pubdate) = 1991
|
What's the royalty for the bestseller book?
|
qty is abbreviation for quantity; bestseller means with the most sales quantity; MAX(qty)
|
store name refers to stor_name
|
What's the royalty for the bestseller book?
|
qty is abbreviation for quantity; bestseller means with the most sales quantity; MAX(qty)
|
qty is abbreviation for quantity; average quantity order = AVG(qty)
|
What's the royalty for the bestseller book?
|
qty is abbreviation for quantity; bestseller means with the most sales quantity; MAX(qty)
|
name the publisher refers to pub_name
|
What's the royalty for the bestseller book?
|
qty is abbreviation for quantity; bestseller means with the most sales quantity; MAX(qty)
|
business title refers to title under business where type = 'business'
|
List the type of the book for the order which was sold on 1993/5/29.
|
sold on refers to ord_date
|
lowest job level refers to MIN(job_lvl)
|
List the type of the book for the order which was sold on 1993/5/29.
|
sold on refers to ord_date
|
qty is abbreviation for quantity; bestseller means with the most sales quantity; MAX(qty)
|
List the type of the book for the order which was sold on 1993/5/29.
|
sold on refers to ord_date
|
job level refers to job_lvl
|
List the type of the book for the order which was sold on 1993/5/29.
|
sold on refers to ord_date
|
highest job level refers to MAX(job_lvl)
|
List the type of the book for the order which was sold on 1993/5/29.
|
sold on refers to ord_date
|
Chief Financial Offer is a job description which refers to job_desc
|
List the type of the book for the order which was sold on 1993/5/29.
|
sold on refers to ord_date
|
most expensive book refers to MAX(price)
|
List the type of the book for the order which was sold on 1993/5/29.
|
sold on refers to ord_date
|
US publisher refers publisher in the US where country = 'USA';
|
List the type of the book for the order which was sold on 1993/5/29.
|
sold on refers to ord_date
|
qty is abbreviation for quantity; average quantity order = AVG(qty)
|
List the type of the book for the order which was sold on 1993/5/29.
|
sold on refers to ord_date
|
qty is abbreviation for quantity; sold more than average refers to qty > AVG(qty); california refers to state = 'CA"
|
List the type of the book for the order which was sold on 1993/5/29.
|
sold on refers to ord_date
|
most year to date sales refers to MAX(ytd_sales); range limit means high range which refers to hirange; the 20000 range refers to hirange<20000
|
Name the top five titles that sold more than average and list them in descending order of the number of sales in California stores?
|
qty is abbreviation for quantity; sold more than average refers to qty > AVG(qty); california refers to state = 'CA"
|
not located at USA refers to country! = 'USA'
|
Name the top five titles that sold more than average and list them in descending order of the number of sales in California stores?
|
qty is abbreviation for quantity; sold more than average refers to qty > AVG(qty); california refers to state = 'CA"
|
most expensive book refers to MAX(price)
|
Name the top five titles that sold more than average and list them in descending order of the number of sales in California stores?
|
qty is abbreviation for quantity; sold more than average refers to qty > AVG(qty); california refers to state = 'CA"
|
publisher id refers to pub_id; publisher name refers to pub_name; average year to date sales = AVG(ytd_sales)
|
Name the top five titles that sold more than average and list them in descending order of the number of sales in California stores?
|
qty is abbreviation for quantity; sold more than average refers to qty > AVG(qty); california refers to state = 'CA"
|
publisher name refers to pub_name;
|
Name the top five titles that sold more than average and list them in descending order of the number of sales in California stores?
|
qty is abbreviation for quantity; sold more than average refers to qty > AVG(qty); california refers to state = 'CA"
|
Chief Financial Offer is a job description which refers to job_desc
|
Name the top five titles that sold more than average and list them in descending order of the number of sales in California stores?
|
qty is abbreviation for quantity; sold more than average refers to qty > AVG(qty); california refers to state = 'CA"
|
max level for his position refers to max_lvl; job level refers to job_lvl; level left to reach the max = SUBTRACT(max_lvl, job_lvl)
|
Name the top five titles that sold more than average and list them in descending order of the number of sales in California stores?
|
qty is abbreviation for quantity; sold more than average refers to qty > AVG(qty); california refers to state = 'CA"
|
French publisher means publisher in France where country = 'France'
|
Name the top five titles that sold more than average and list them in descending order of the number of sales in California stores?
|
qty is abbreviation for quantity; sold more than average refers to qty > AVG(qty); california refers to state = 'CA"
|
year to date sales refers to ytd_sales; average order = AVG(ytd_sales)
|
Name the top five titles that sold more than average and list them in descending order of the number of sales in California stores?
|
qty is abbreviation for quantity; sold more than average refers to qty > AVG(qty); california refers to state = 'CA"
|
Marketing manager is a job description which refers to job_desc; US publisher refers publisher in the US where country = 'USA'; non-US publishers refers publisher not in the US where country! = 'USA'; job level refers to job_lvl; average level = AVG(job_lvl)
|
Name the top five titles that sold more than average and list them in descending order of the number of sales in California stores?
|
qty is abbreviation for quantity; sold more than average refers to qty > AVG(qty); california refers to state = 'CA"
|
Life Without Fear is book title
|
List all titles published in year 1991. Also provide notes details of the title and the publisher's name.
|
publisher name refers to pub_name; publication date refers to pubdate; published in year 1991 refers to YEAR(pubdate) = 1991
|
job title means job description which refers to job_desc
|
List all titles published in year 1991. Also provide notes details of the title and the publisher's name.
|
publisher name refers to pub_name; publication date refers to pubdate; published in year 1991 refers to YEAR(pubdate) = 1991
|
order happened on refers to ord_date
|
List all titles published in year 1991. Also provide notes details of the title and the publisher's name.
|
publisher name refers to pub_name; publication date refers to pubdate; published in year 1991 refers to YEAR(pubdate) = 1991
|
hired before year 1990 refers to YEAR(hire_date)<1990
|
List all titles published in year 1991. Also provide notes details of the title and the publisher's name.
|
publisher name refers to pub_name; publication date refers to pubdate; published in year 1991 refers to YEAR(pubdate) = 1991
|
most year to date sales refers to MAX(ytd_sales); range limit means high range which refers to hirange; the 20000 range refers to hirange<20000
|
List all titles published in year 1991. Also provide notes details of the title and the publisher's name.
|
publisher name refers to pub_name; publication date refers to pubdate; published in year 1991 refers to YEAR(pubdate) = 1991
|
Massachusetts is a state; business books refers to type = 'business'
|
List all titles published in year 1991. Also provide notes details of the title and the publisher's name.
|
publisher name refers to pub_name; publication date refers to pubdate; published in year 1991 refers to YEAR(pubdate) = 1991
|
published by refers to pub_name
|
List all titles published in year 1991. Also provide notes details of the title and the publisher's name.
|
publisher name refers to pub_name; publication date refers to pubdate; published in year 1991 refers to YEAR(pubdate) = 1991
|
max level for his position refers to max_lvl; job level refers to job_lvl; level left to reach the max = SUBTRACT(max_lvl, job_lvl)
|
List all titles published in year 1991. Also provide notes details of the title and the publisher's name.
|
publisher name refers to pub_name; publication date refers to pubdate; published in year 1991 refers to YEAR(pubdate) = 1991
|
lowest job level refers to MIN(job_lvl)
|
List all titles published in year 1991. Also provide notes details of the title and the publisher's name.
|
publisher name refers to pub_name; publication date refers to pubdate; published in year 1991 refers to YEAR(pubdate) = 1991
|
US publisher refers publisher in the US where country = 'USA';
|
List all titles published in year 1991. Also provide notes details of the title and the publisher's name.
|
publisher name refers to pub_name; publication date refers to pubdate; published in year 1991 refers to YEAR(pubdate) = 1991
|
qty is abbreviation for quantity; average quantity order = AVG(qty)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.