query
stringlengths 24
325
| positive
stringlengths 1
580
| negative
stringlengths 1
580
|
---|---|---|
Name the publisher which has the most titles published in 1991. | most title published refers to MAX(count(title_id); published in 1991 refers to YEAR(pubdate) = 1991 | Remulade is a city; sales in the store refers to ord_num |
Name the publisher which has the most titles published in 1991. | most title published refers to MAX(count(title_id); published in 1991 refers to YEAR(pubdate) = 1991 | qty is abbreviation for quantity; sells the best mean with the most sales quantity; MAX(qty) |
Name the publisher which has the most titles published in 1991. | most title published refers to MAX(count(title_id); published in 1991 refers to YEAR(pubdate) = 1991 | name the publisher refers to pub_name |
Name the publisher which has the most titles published in 1991. | most title published refers to MAX(count(title_id); published in 1991 refers to YEAR(pubdate) = 1991 | publisher name refers to pub_name; |
Name the publisher which has the most titles published in 1991. | most title published refers to MAX(count(title_id); published in 1991 refers to YEAR(pubdate) = 1991 | not located at USA refers to country! = 'USA' |
Name the publisher which has the most titles published in 1991. | most title published refers to MAX(count(title_id); published in 1991 refers to YEAR(pubdate) = 1991 | qty is abbreviation for quantity; bestseller means with the most sales quantity; MAX(qty) |
Name the publisher which has the most titles published in 1991. | most title published refers to MAX(count(title_id); published in 1991 refers to YEAR(pubdate) = 1991 | publisher name refers to pub_name; publication date refers to pubdate; published in year 1991 refers to YEAR(pubdate) = 1991 |
Name the publisher which has the most titles published in 1991. | most title published refers to MAX(count(title_id); published in 1991 refers to YEAR(pubdate) = 1991 | business title refers to title under business where type = 'business' |
Name the publisher which has the most titles published in 1991. | most title published refers to MAX(count(title_id); published in 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) |
Name the publisher which has the most titles published in 1991. | most title published refers to MAX(count(title_id); published in 1991 refers to YEAR(pubdate) = 1991 | at least 10% royalty refers to royalty > = 10; minimum range is synonym for low range which refers to lorange; without minimum range amount refers to lorange <> 0 |
Which publisher had the highest job level? Give his/her full name. | highest job level refers to MAX(job_lvl) | hired before year 1990 refers to YEAR(hire_date)<1990 |
Which publisher had the highest job level? Give his/her full name. | highest job level refers to MAX(job_lvl) | sold on refers to ord_date |
Which publisher had the highest job level? Give his/her full name. | highest job level refers to MAX(job_lvl) | 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) |
Which publisher had the highest job level? Give his/her full name. | highest job level refers to MAX(job_lvl) | Remulade is a city; sales in the store refers to ord_num |
Which publisher had the highest job level? Give his/her full name. | highest job level refers to MAX(job_lvl) | publisher id refers to pub_id; publisher name refers to pub_name; average year to date sales = AVG(ytd_sales) |
Which publisher had the highest job level? Give his/her full name. | highest job level refers to MAX(job_lvl) | US publisher refers publisher in the US where country = 'USA'; |
Which publisher had the highest job level? Give his/her full name. | highest job level refers to MAX(job_lvl) | not located at USA refers to country! = 'USA' |
Which publisher had the highest job level? Give his/her full name. | highest job level refers to MAX(job_lvl) | year to date sales refers to ytd_sales; about the title refers to notes |
Which publisher had the highest job level? Give his/her full name. | highest job level refers to MAX(job_lvl) | Massachusetts is a state |
Which publisher had the highest job level? Give his/her full name. | highest job level refers to MAX(job_lvl) | publisher name refers to pub_name; publication date refers to pubdate; published in year 1991 refers to YEAR(pubdate) = 1991 |
Name the Chief Executive Officer and when he/she was hired. | Chief Financial Offer is a job description which refers to job_desc | Life Without Fear is book title |
Name the Chief Executive Officer and when he/she was hired. | Chief Financial Offer is a job description which refers to job_desc | publisher name refers to pub_name |
Name the Chief Executive Officer and when he/she was hired. | Chief Financial Offer is a job description which refers to job_desc | French publisher means publisher in France where country = 'France' |
Name the Chief Executive Officer and when he/she was hired. | Chief Financial Offer is a job description which refers to job_desc | published by refers to pub_name |
Name the Chief Executive Officer and when he/she was hired. | Chief Financial Offer is a job description which refers to job_desc | publisher id refers to pub_id; publisher name refers to pub_name; average year to date sales = AVG(ytd_sales) |
Name the Chief Executive Officer and when he/she was hired. | Chief Financial Offer is a job description which refers to job_desc | qty is abbreviation for quantity; average quantity order = AVG(qty) |
Name the Chief Executive Officer and when he/she was hired. | Chief Financial Offer is a job description which refers to job_desc | US publisher refers publisher in the US where country = 'USA'; |
Name the Chief Executive Officer and when he/she was hired. | Chief Financial Offer is a job description which refers to job_desc | 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 Chief Executive Officer and when he/she was hired. | Chief Financial Offer is a job description which refers to job_desc | year to date sales refers to ytd_sales; on contract refers to contract = 1 |
Name the Chief Executive Officer and when he/she was hired. | Chief Financial Offer is a job description which refers to job_desc | publisher name refers to pub_name; |
Find and list the full name of employees who were hired between 1990 and 1995. Also, arrange them in the descending order of job level. | job level refers to job_lvl; YEAR(hire_date) between 1990 and 1995 | qty is abbreviation for quantity; sells the best mean with the most sales quantity; MAX(qty) |
Find and list the full name of employees who were hired between 1990 and 1995. Also, arrange them in the descending order of job level. | job level refers to job_lvl; YEAR(hire_date) between 1990 and 1995 | publisher name refers to pub_name; |
Find and list the full name of employees who were hired between 1990 and 1995. Also, arrange them in the descending order of job level. | job level refers to job_lvl; YEAR(hire_date) between 1990 and 1995 | Remulade is a city; sales in the store refers to ord_num |
Find and list the full name of employees who were hired between 1990 and 1995. Also, arrange them in the descending order of job level. | job level refers to job_lvl; YEAR(hire_date) between 1990 and 1995 | name the publisher refers to pub_name |
Find and list the full name of employees who were hired between 1990 and 1995. Also, arrange them in the descending order of job level. | job level refers to job_lvl; YEAR(hire_date) between 1990 and 1995 | hired before year 1990 refers to YEAR(hire_date)<1990 |
Find and list the full name of employees who were hired between 1990 and 1995. Also, arrange them in the descending order of job level. | job level refers to job_lvl; YEAR(hire_date) between 1990 and 1995 | Massachusetts is a state; business books refers to type = 'business' |
Find and list the full name of employees who were hired between 1990 and 1995. Also, arrange them in the descending order of job level. | job level refers to job_lvl; YEAR(hire_date) between 1990 and 1995 | US publisher refers publisher in the US where country = 'USA'; |
Find and list the full name of employees who were hired between 1990 and 1995. Also, arrange them in the descending order of job level. | job level refers to job_lvl; YEAR(hire_date) between 1990 and 1995 | year to date sales refers to ytd_sales; average order = AVG(ytd_sales) |
Find and list the full name of employees who were hired between 1990 and 1995. Also, arrange them in the descending order of job level. | job level refers to job_lvl; YEAR(hire_date) between 1990 and 1995 | Chief Financial Offer is a job description which refers to job_desc |
Find and list the full name of employees who were hired between 1990 and 1995. Also, arrange them in the descending order of job level. | job level refers to job_lvl; YEAR(hire_date) between 1990 and 1995 | highest job level refers to MAX(job_lvl); hired the earliest refers to MIN(hire_date) |
In the books published by US publishers, which book has the highest royalty? List these books in the descending order of royalty. | US publisher refers publisher in the US where country = 'USA'; | Massachusetts is a state |
In the books published by US publishers, which book has the highest royalty? List these books in the descending order of royalty. | US publisher refers publisher in the US where country = 'USA'; | year to date sales refers to ytd_sales; on contract refers to contract = 1 |
In the books published by US publishers, which book has the highest royalty? List these books in the descending order of royalty. | US publisher refers publisher in the US where country = 'USA'; | order happened on refers to ord_date |
In the books published by US publishers, which book has the highest royalty? List these books in the descending order of royalty. | US publisher refers publisher in the US where country = 'USA'; | sold on refers to ord_date |
In the books published by US publishers, which book has the highest royalty? List these books in the descending order of royalty. | US publisher refers publisher in the US where country = 'USA'; | year to date sales refers to ytd_sales; about the title refers to notes |
In the books published by US publishers, which book has the highest royalty? List these books in the descending order of royalty. | US publisher refers publisher in the US where country = 'USA'; | publication date refers to pubdate; payment terms refers to payterms; payterms = 'ON invoice' |
In the books published by US publishers, which book has the highest royalty? List these books in the descending order of royalty. | US publisher refers publisher in the US where country = 'USA'; | most title published refers to MAX(count(title_id); published in 1991 refers to YEAR(pubdate) = 1991 |
In the books published by US publishers, which book has the highest royalty? List these books in the descending order of royalty. | US publisher refers publisher in the US where country = 'USA'; | Life Without Fear is book title |
In the books published by US publishers, which book has the highest royalty? List these books in the descending order of royalty. | US publisher refers publisher in the US where country = 'USA'; | highest job level refers to MAX(job_lvl) |
In the books published by US publishers, which book has the highest royalty? List these books in the descending order of royalty. | US publisher refers publisher in the US where country = 'USA'; | job title means job description which refers to job_desc |
Provide a list of titles together with its publisher name for all publishers located in the USA. | publisher name refers to pub_name; | at least 10% royalty refers to royalty > = 10; minimum range is synonym for low range which refers to lorange; without minimum range amount refers to lorange <> 0 |
Provide a list of titles together with its publisher name for all publishers located in the USA. | publisher name refers to pub_name; | not located at USA refers to country! = 'USA' |
Provide a list of titles together with its publisher name for all publishers located in the USA. | publisher name refers to pub_name; | publication date refers to pubdate; payment terms refers to payterms; payterms = 'ON invoice' |
Provide a list of titles together with its publisher name for all publishers located in the USA. | publisher name refers to pub_name; | Remulade is a city; sales in the store refers to ord_num |
Provide a list of titles together with its publisher name for all publishers located in the USA. | publisher name refers to pub_name; | job title means job description which refers to job_desc |
Provide a list of titles together with its publisher name for all publishers located in the USA. | publisher name refers to pub_name; | Life Without Fear is book title |
Provide a list of titles together with its publisher name for all publishers located in the USA. | publisher name refers to pub_name; | qty is abbreviation for quantity; sells the best mean with the most sales quantity; MAX(qty) |
Provide a list of titles together with its publisher name for all publishers located in the USA. | publisher name refers to pub_name; | 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) |
Provide a list of titles together with its publisher name for all publishers located in the USA. | publisher name refers to pub_name; | business title refers to title under business where type = 'business' |
Provide a list of titles together with its publisher name for all publishers located in the USA. | publisher name refers to pub_name; | publisher name refers to pub_name |
Of the titles, which title is about the Carefully researched study of the effects of strong emotions on the body, which state-based publisher published this book, and what is the year-to-date sale? | year to date sales refers to ytd_sales; about the title refers to notes | qty is abbreviation for quantity; bestseller means with the most sales quantity; MAX(qty) |
Of the titles, which title is about the Carefully researched study of the effects of strong emotions on the body, which state-based publisher published this book, and what is the year-to-date sale? | year to date sales refers to ytd_sales; about the title refers to notes | Remulade is a city; sales in the store refers to ord_num |
Of the titles, which title is about the Carefully researched study of the effects of strong emotions on the body, which state-based publisher published this book, and what is the year-to-date sale? | year to date sales refers to ytd_sales; about the title refers to notes | Massachusetts is a state |
Of the titles, which title is about the Carefully researched study of the effects of strong emotions on the body, which state-based publisher published this book, and what is the year-to-date sale? | year to date sales refers to ytd_sales; about the title refers to notes | Massachusetts is a state; business books refers to type = 'business' |
Of the titles, which title is about the Carefully researched study of the effects of strong emotions on the body, which state-based publisher published this book, and what is the year-to-date sale? | year to date sales refers to ytd_sales; about the title refers to notes | job title means job description which refers to job_desc |
Of the titles, which title is about the Carefully researched study of the effects of strong emotions on the body, which state-based publisher published this book, and what is the year-to-date sale? | year to date sales refers to ytd_sales; about the title refers to notes | publisher name refers to pub_name; |
Of the titles, which title is about the Carefully researched study of the effects of strong emotions on the body, which state-based publisher published this book, and what is the year-to-date sale? | year to date sales refers to ytd_sales; about the title refers to notes | Life Without Fear is book title |
Of the titles, which title is about the Carefully researched study of the effects of strong emotions on the body, which state-based publisher published this book, and what is the year-to-date sale? | year to date sales refers to ytd_sales; about the title refers to notes | qty is abbreviation for quantity; sells the best mean with the most sales quantity; MAX(qty) |
Of the titles, which title is about the Carefully researched study of the effects of strong emotions on the body, which state-based publisher published this book, and what is the year-to-date sale? | year to date sales refers to ytd_sales; about the title refers to notes | 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) |
Of the titles, which title is about the Carefully researched study of the effects of strong emotions on the body, which state-based publisher published this book, and what is the year-to-date sale? | year to date sales refers to ytd_sales; about the title refers to notes | order happened on refers to ord_date |
List all the titles of the Spanish books published by Alfaguara. | "Spanish" is the language_name; 'Alfaguara' is the publisher_name | book with the most pages refers to Max(num_pages) |
List all the titles of the Spanish books published by Alfaguara. | "Spanish" is the language_name; 'Alfaguara' is the publisher_name | "Fantasmas" is the title of the book; customer names refers to first_name, last_name |
List all the titles of the Spanish books published by Alfaguara. | "Spanish" is the language_name; 'Alfaguara' is the publisher_name | 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 |
List all the titles of the Spanish books published by Alfaguara. | "Spanish" is the language_name; 'Alfaguara' is the publisher_name | customer refers to first_name, last_name; the most address refers to Max(count(address_id)) |
List all the titles of the Spanish books published by Alfaguara. | "Spanish" is the language_name; 'Alfaguara' is the publisher_name | book purchased by less than 1 dollar refers to price < 1; books with less than 500 pages refers to num_pages < 500; greater than 500 pages refers to num_pages > 500; Difference = Subtract (Count(book_id where num_pages < 500), Count(book_id where num_pages > 500)) |
List all the titles of the Spanish books published by Alfaguara. | "Spanish" is the language_name; 'Alfaguara' is the publisher_name | "Žirovnica" is the city; country refers to country_name |
List all the titles of the Spanish books published by Alfaguara. | "Spanish" is the language_name; 'Alfaguara' is the publisher_name | books with the most number of pages refers to Max(num_pages) |
List all the titles of the Spanish books published by Alfaguara. | "Spanish" is the language_name; 'Alfaguara' is the publisher_name | "ADV Manga" is the publisher_name; books refers to title |
List all the titles of the Spanish books published by Alfaguara. | "Spanish" is the language_name; 'Alfaguara' is the publisher_name | "Priority" and "Express" are both method_name; cost difference = Subtract (Sum(cost where method_name = 'Express'), Sum(cost where method_name 'Priority')) |
List all the titles of the Spanish books published by Alfaguara. | "Spanish" is the language_name; 'Alfaguara' is the publisher_name | "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 |
In books published by Ace Book, what is the percentage of English books published? | "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 | 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 books published by Ace Book, what is the percentage of English books published? | "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 | delivered refers to status_value = 'Delivered'; in 2021 refers to status_date LIKE '2021%' |
In books published by Ace Book, what is the percentage of English books published? | "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 | "[email protected]" is the email of customer; ISBN refers to isbn13 |
In books published by Ace Book, what is the percentage of English books published? | "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 | "The Prophet" is the title of the book: total price refers to Sum(price) |
In books published by Ace Book, what is the percentage of English books published? | "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 | "Orson Scott Card" is the author_name; released in 2001 refers to publication_date LIKE '2001%'; books refers to title |
In books published by Ace Book, what is the percentage of English books published? | "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 | "Žirovnica" is the city; country refers to country_name |
In books published by Ace Book, what is the percentage of English books published? | "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 | 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 |
In books published by Ace Book, what is the percentage of English books published? | "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 | books in English refers to language_name = 'English' |
In books published by Ace Book, what is the percentage of English books published? | "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 | publisher have the word 'book' refers to publisher_name LIKE '%book%' |
In books published by Ace Book, what is the percentage of English books published? | "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 | shipping method preferred the most by customers refers to method_id where Max(Count(method_id)); which shipping method refers to method_name |
Indicate the ISBN13 of all the books that have less than 140 pages and more than 135. | ISBN13 refers to isbn13; less than 140 pages and more than 135 refers to num_pages > 135 AND num_pages < 140; | under 300 pages refers to num_pages < 300; 'HarperCollins Publishers" is the publisher_name |
Indicate the ISBN13 of all the books that have less than 140 pages and more than 135. | ISBN13 refers to isbn13; less than 140 pages and more than 135 refers to num_pages > 135 AND num_pages < 140; | delivered refers to status_value = 'Delivered'; in 2021 refers to status_date LIKE '2021%' |
Indicate the ISBN13 of all the books that have less than 140 pages and more than 135. | ISBN13 refers to isbn13; less than 140 pages and more than 135 refers to num_pages > 135 AND num_pages < 140; | "The Prophet" is the title of the book: total price refers to Sum(price) |
Indicate the ISBN13 of all the books that have less than 140 pages and more than 135. | ISBN13 refers to isbn13; less than 140 pages and more than 135 refers to num_pages > 135 AND num_pages < 140; | name of publisher refers to publisher_name |
Indicate the ISBN13 of all the books that have less than 140 pages and more than 135. | ISBN13 refers to isbn13; less than 140 pages and more than 135 refers to num_pages > 135 AND num_pages < 140; | "Bite Me If You Can (Argeneau #6)" is the title of the book; most expensive price refers to Max(price) |
Indicate the ISBN13 of all the books that have less than 140 pages and more than 135. | ISBN13 refers to isbn13; less than 140 pages and more than 135 refers to num_pages > 135 AND num_pages < 140; | most order refers to Max(Count(order_id)); customer refers to first_name, last_name |
Indicate the ISBN13 of all the books that have less than 140 pages and more than 135. | ISBN13 refers to isbn13; less than 140 pages and more than 135 refers to num_pages > 135 AND num_pages < 140; | number of pages refers to num_pages |
Indicate the ISBN13 of all the books that have less than 140 pages and more than 135. | ISBN13 refers to isbn13; less than 140 pages and more than 135 refers to num_pages > 135 AND num_pages < 140; | "Brava" is the publisher_name; in 2006 refers to SUBSTR(publication_date, 1, 4) = '2006' |
Indicate the ISBN13 of all the books that have less than 140 pages and more than 135. | ISBN13 refers to isbn13; less than 140 pages and more than 135 refers to num_pages > 135 AND num_pages < 140; | "The Servant Leader" is the title of the book; book in 2003 refers to SUBSTR(publication_date, 1, 4) = '2003' |
Indicate the ISBN13 of all the books that have less than 140 pages and more than 135. | ISBN13 refers to isbn13; less than 140 pages and more than 135 refers to num_pages > 135 AND num_pages < 140; | "El plan infinito" is the title of the book; language refers to language_name |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.