query
stringlengths 24
325
| positive
stringlengths 1
580
| negative
stringlengths 1
580
|
---|---|---|
Provide the title of the books published in British-English. | "British English" is the language_name of the book | International Standard Book Number refers to isbn13; 'The Mystery in the Rocky Mountains' is the title of the book |
Provide the title of the books published in British-English. | "British English" is the language_name of the book | "Alan Lee" is the author_name; publisher's name refers to publisher_name |
Provide the title of the books published in British-English. | "British English" is the language_name of the book | authors refers to author_name; more than 3000 pages refers to num_pages > 3000 |
Provide the title of the books published in British-English. | "British English" is the language_name of the book | "Arabic" is the language_name; book refers to title |
Provide the title of the books published in British-English. | "British English" is the language_name of the book | "Agatha Christie" is the author_name; name of publisher refers to publisher_name; first book refers to Min(publication_date) |
Provide the title of the books published in British-English. | "British English" is the language_name of the book | "The Little House" is the title of book; cheapest order price refers to Min(price) |
Provide the title of the books published in British-English. | "British English" is the language_name of the book | "9780763628321" is the isbn13 |
Provide the title of the books published in British-English. | "British English" is the language_name of the book | "The Prophet" is the title of the book: total price refers to Sum(price) |
Provide the title of the books published in British-English. | "British English" is the language_name of the book | "British English" is the language_name of the book |
Provide the title of the books published in British-English. | "British English" is the language_name of the book | full name refers to first_name, last_name; '55' is the street_number, 'Dorton Pass' is the street_name; 'Huangqiao' is the city |
Among the books ordered by Lucas Wyldbore, what is the percentage of those books over $13? | books over $13 refers to price > 13; percentage = Divide (Sum (order_id where price > 13), Count (order_id)) * 100 | in Japanese refers to language_name = 'Japanese |
Among the books ordered by Lucas Wyldbore, what is the percentage of those books over $13? | books over $13 refers to price > 13; percentage = Divide (Sum (order_id where price > 13), Count (order_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 |
Among the books ordered by Lucas Wyldbore, what is the percentage of those books over $13? | books over $13 refers to price > 13; percentage = Divide (Sum (order_id where price > 13), Count (order_id)) * 100 | "Anleitung zum Zickigsein" is the title of the book |
Among the books ordered by Lucas Wyldbore, what is the percentage of those books over $13? | books over $13 refers to price > 13; percentage = Divide (Sum (order_id where price > 13), Count (order_id)) * 100 | "Akira Watanabe" is the author_name |
Among the books ordered by Lucas Wyldbore, what is the percentage of those books over $13? | books over $13 refers to price > 13; percentage = Divide (Sum (order_id where price > 13), Count (order_id)) * 100 | published in 1995 refers to publication_date LIKE '1995%'; ; list of book refers to title |
Among the books ordered by Lucas Wyldbore, what is the percentage of those books over $13? | books over $13 refers to price > 13; percentage = Divide (Sum (order_id where price > 13), Count (order_id)) * 100 | "Orson Scott Card" is the author_name; released in 2001 refers to publication_date LIKE '2001%'; books refers to title |
Among the books ordered by Lucas Wyldbore, what is the percentage of those books over $13? | books over $13 refers to price > 13; percentage = Divide (Sum (order_id where price > 13), Count (order_id)) * 100 | "The Prophet" is the title of the book: who wrote refers to author_name |
Among the books ordered by Lucas Wyldbore, what is the percentage of those books over $13? | books over $13 refers to price > 13; percentage = Divide (Sum (order_id where price > 13), Count (order_id)) * 100 | shipping cost refers to cost; ordered in 2022 refers to order_date LIKE '2022%' |
Among the books ordered by Lucas Wyldbore, what is the percentage of those books over $13? | books over $13 refers to price > 13; percentage = Divide (Sum (order_id where price > 13), Count (order_id)) * 100 | 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 |
Among the books ordered by Lucas Wyldbore, what is the percentage of those books over $13? | books over $13 refers to price > 13; percentage = Divide (Sum (order_id where price > 13), Count (order_id)) * 100 | "Ace Book" is the publisher_name; English book refers to language_name = 'English'; percentage = Divide (Count(book_id where language_name = 'English'), Count(book_id)) * 100 |
What is the language of the book with ISBN 23755004321? | "23755004321" is the isbn13; language refers to language_name | "Agatha Christie" is the author_name; name of publisher refers to publisher_name; first book refers to Min(publication_date) |
What is the language of the book with ISBN 23755004321? | "23755004321" is the isbn13; language refers to language_name | published at least 30 books refers to Count(book_id) > = 30 |
What is the language of the book with ISBN 23755004321? | "23755004321" is the isbn13; language refers to language_name | authors refers to author_name; more than 3000 pages refers to num_pages > 3000 |
What is the language of the book with ISBN 23755004321? | "23755004321" is the isbn13; language refers to language_name | "Danielle Steel" is the author_name; name of books refers to title |
What is the language of the book with ISBN 23755004321? | "23755004321" is the isbn13; language refers to language_name | authors named Adam refers to author_name LIKE 'Adam' |
What is the language of the book with ISBN 23755004321? | "23755004321" is the isbn13; language refers to language_name | most common domain for the email refers to Max(Count(SUBSTR(email, CHARINDEX('@', email) + 1, length(email) - charindex('@', email)))) |
What is the language of the book with ISBN 23755004321? | "23755004321" is the isbn13; language refers to language_name | "Seaward" is the title of the book; pages refers to num_pages |
What is the language of the book with ISBN 23755004321? | "23755004321" is the isbn13; language refers to language_name | "ADV Manga" is the publisher_name; books refers to title |
What is the language of the book with ISBN 23755004321? | "23755004321" is the isbn13; language refers to language_name | "British English" is the language_name of the book |
What is the language of the book with ISBN 23755004321? | "23755004321" is the isbn13; language refers to language_name | via international shipping refers to method_name = 'International' |
How many pages does 'Seaward' have? | "Seaward" is the title of the book; pages refers to num_pages | "Barry Eisler" is the author_name; publisher refers to publisher_name |
How many pages does 'Seaward' have? | "Seaward" is the title of the book; pages refers to num_pages | "ADV Manga" is the publisher_name; books refers to title |
How many pages does 'Seaward' have? | "Seaward" is the title of the book; pages refers to num_pages | 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 pages does 'Seaward' have? | "Seaward" is the title of the book; pages refers to num_pages | book with cheapest price refers to Min(price); who order means name of customer which refers to first_name, last_name |
How many pages does 'Seaward' have? | "Seaward" is the title of the book; pages refers to num_pages | author named 'George' refers to author_name = 'George%' |
How many pages does 'Seaward' have? | "Seaward" is the title of the book; pages refers to num_pages | street refers to street_name; last number of each street refers to Substr (street_number, -1) |
How many pages does 'Seaward' have? | "Seaward" is the title of the book; pages refers to num_pages | "Danielle Steel" is the author_name; name of books refers to title |
How many pages does 'Seaward' have? | "Seaward" is the title of the book; pages refers to num_pages | books with a price range of 3 to 5 dollars refers to price BETWEEN 3 AND 5 |
How many pages does 'Seaward' have? | "Seaward" is the title of the book; pages refers to num_pages | "El plan infinito" is the title of the book; language refers to language_name |
How many pages does 'Seaward' have? | "Seaward" is the title of the book; pages refers to num_pages | "[email protected]" is the email of customer; full name refers to first_name, last_name |
Indicate the last number of each street. | street refers to street_name; last number of each street refers to Substr (street_number, -1) | "76092025986" is the isbn13 |
Indicate the last number of each street. | street refers to street_name; last number of each street refers to Substr (street_number, -1) | "Costa Rica" is the country_name |
Indicate the last number of each street. | street refers to street_name; last number of each street refers to Substr (street_number, -1) | order returned refers to status_value = 'Returned' |
Indicate the last number of each street. | street refers to street_name; last number of each street refers to Substr (street_number, -1) | "Alan Lee" is the author_name; publisher's name refers to publisher_name |
Indicate the last number of each street. | street refers to street_name; last number of each street refers to Substr (street_number, -1) | books with the most number of pages refers to Max(num_pages) |
Indicate the last number of each street. | street refers to street_name; last number of each street refers to Substr (street_number, -1) | customer refers to first_name, last_name; the most address refers to Max(count(address_id)) |
Indicate the last number of each street. | street refers to street_name; last number of each street refers to Substr (street_number, -1) | name of publisher refers to publisher_name |
Indicate the last number of each street. | street refers to street_name; last number of each street refers to Substr (street_number, -1) | most common domain for the email refers to Max(Count(SUBSTR(email, CHARINDEX('@', email) + 1, length(email) - charindex('@', email)))) |
Indicate the last number of each street. | street refers to street_name; last number of each street refers to Substr (street_number, -1) | "23755004321" is the isbn13; language refers to language_name |
Indicate the last number of each street. | street refers to street_name; last number of each street refers to Substr (street_number, -1) | "Fantasmas" is the title of the book; customer names refers to first_name, last_name |
List the author's name of the books published by Abrams. | "Abrams" is the publisher_name; author's name refers to author_name | complete address refers to street_number, street_name, city, country; "Lazaro Cardenas" is the city |
List the author's name of the books published by Abrams. | "Abrams" is the publisher_name; author's name refers to author_name | International Standard Book Number refers to isbn13; 'The Mystery in the Rocky Mountains' is the title of the book |
List the author's name of the books published by Abrams. | "Abrams" is the publisher_name; author's name refers to author_name | country refers to country_name |
List the author's name of the books published by Abrams. | "Abrams" is the publisher_name; author's name refers to author_name | author named 'George' refers to author_name = 'George%' |
List the author's name of the books published by Abrams. | "Abrams" is the publisher_name; author's name refers to author_name | in Japanese refers to language_name = 'Japanese |
List the author's name of the books published by Abrams. | "Abrams" is the publisher_name; author's name refers to author_name | "Hirohiko Araki" is the author_name; 'Viz Media' is the publisher_name; percentage = Divide (Count(author_name = 'Hirohiko Araki'), Count(book_id)) * 100 |
List the author's name of the books published by Abrams. | "Abrams" is the publisher_name; author's name refers to author_name | books with a price range of 3 to 5 dollars refers to price BETWEEN 3 AND 5 |
List the author's name of the books published by Abrams. | "Abrams" is the publisher_name; author's name refers to author_name | language written in refers to language_name; |
List the author's name of the books published by Abrams. | "Abrams" is the publisher_name; author's name refers to author_name | customer refers to first_name, last_name; the most address refers to Max(count(address_id)) |
List the author's name of the books published by Abrams. | "Abrams" is the publisher_name; author's name refers to author_name | authors named Adam refers to author_name LIKE 'Adam' |
How many books were published by Ace Hardcover? | "Ace Hardcover" is the publisher_name | "Anleitung zum Zickigsein" is the title of the book |
How many books were published by Ace Hardcover? | "Ace Hardcover" is the publisher_name | oldest book refers to Min(publiation_date) |
How many books were published by Ace Hardcover? | "Ace Hardcover" is the publisher_name | authors refers to author_name; more than 3000 pages refers to num_pages > 3000 |
How many books were published by Ace Hardcover? | "Ace Hardcover" is the publisher_name | ISBN13 refers to isbn13; less than 140 pages and more than 135 refers to num_pages > 135 AND num_pages < 140; |
How many books were published by Ace Hardcover? | "Ace Hardcover" is the publisher_name | shipped by international method refers to method_name = 'International'; percentage = Divide (Sum(method_name = 'International'), Count(method_name)) * 100 |
How many books were published by Ace Hardcover? | "Ace Hardcover" is the publisher_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 were published by Ace Hardcover? | "Ace Hardcover" is the publisher_name | "Žirovnica" is the city; country refers to country_name |
How many books were published by Ace Hardcover? | "Ace Hardcover" is the publisher_name | "Kensington" is the publisher_name; |
How many books were published by Ace Hardcover? | "Ace Hardcover" is the publisher_name | address refers to street_name, city; received the most orders refers to Max(count(dest_address_id)) |
How many books were published by Ace Hardcover? | "Ace Hardcover" is the publisher_name | "23755004321" is the isbn13; language refers to language_name |
Who is the author of First Things First? | "First Things First" is the title of the book; author refers to author_name | books in English refers to language_name = 'English' |
Who is the author of First Things First? | "First Things First" is the title of the book; author refers to author_name | "Hirohiko Araki" is the author_name; 'Viz Media' is the publisher_name; percentage = Divide (Count(author_name = 'Hirohiko Araki'), Count(book_id)) * 100 |
Who is the author of First Things First? | "First Things First" is the title of the book; author refers to author_name | "A.J. Ayer" is the author_name; |
Who is the author of First Things First? | "First Things First" is the title of the book; author refers to author_name | author named 'George' refers to author_name = 'George%' |
Who is the author of First Things First? | "First Things First" is the title of the book; author refers to author_name | oldest book refers to Min(publiation_date) |
Who is the author of First Things First? | "First Things First" is the title of the book; author refers to author_name | "Girls' Night In" is the title of the book; publisher is the publisher_name |
Who is the author of First Things First? | "First Things First" is the title of the book; author refers to author_name | "Costa Rica" is the country_name |
Who is the author of First Things First? | "First Things First" is the title of the book; author refers to author_name | published at least 30 books refers to Count(book_id) > = 30 |
Who is the author of First Things First? | "First Things First" is the title of the book; author refers to author_name | full name refers to first_name, last_name; '55' is the street_number, 'Dorton Pass' is the street_name; 'Huangqiao' is the city |
Who is the author of First Things First? | "First Things First" is the title of the book; author refers to author_name | current address refers to address_status = 1; address refers to street_number, street_name, city |
How many orders did Marcelia Goering place in 2021 that uses the Priority Shipping method? | in 2021 refers to substr(order_date, 1, 4) = '2021'; priority shipping method refers to method_name = 'Priority' | books over $13 refers to price > 13; percentage = Divide (Sum (order_id where price > 13), Count (order_id)) * 100 |
How many orders did Marcelia Goering place in 2021 that uses the Priority Shipping method? | in 2021 refers to substr(order_date, 1, 4) = '2021'; priority shipping method refers to method_name = 'Priority' | published at least 30 books refers to Count(book_id) > = 30 |
How many orders did Marcelia Goering place in 2021 that uses the Priority Shipping method? | in 2021 refers to substr(order_date, 1, 4) = '2021'; priority shipping method refers to method_name = 'Priority' | International Standard Book Number refers to isbn13; 'The Mystery in the Rocky Mountains' is the title of the book |
How many orders did Marcelia Goering place in 2021 that uses the Priority Shipping method? | in 2021 refers to substr(order_date, 1, 4) = '2021'; priority shipping method refers to method_name = 'Priority' | via international shipping refers to method_name = 'International' |
How many orders did Marcelia Goering place in 2021 that uses the Priority Shipping method? | in 2021 refers to substr(order_date, 1, 4) = '2021'; priority shipping method refers to method_name = 'Priority' | "Girls' Night In" is the title of the book; publisher is the publisher_name |
How many orders did Marcelia Goering place in 2021 that uses the Priority Shipping method? | in 2021 refers to substr(order_date, 1, 4) = '2021'; priority shipping method refers to method_name = 'Priority' | full name refers to first_name, last_name; 'The Sorrows of Young Werther' is the title of the book |
How many orders did Marcelia Goering place in 2021 that uses the Priority Shipping method? | in 2021 refers to substr(order_date, 1, 4) = '2021'; priority shipping method refers to method_name = 'Priority' | shipped by international method refers to method_name = 'International'; percentage = Divide (Sum(method_name = 'International'), Count(method_name)) * 100 |
How many orders did Marcelia Goering place in 2021 that uses the Priority Shipping method? | in 2021 refers to substr(order_date, 1, 4) = '2021'; priority shipping method refers to method_name = 'Priority' | published in 1995 refers to publication_date LIKE '1995%'; ; list of book refers to title |
How many orders did Marcelia Goering place in 2021 that uses the Priority Shipping method? | in 2021 refers to substr(order_date, 1, 4) = '2021'; priority shipping method refers to method_name = 'Priority' | "Kensington" is the publisher_name; |
How many orders did Marcelia Goering place in 2021 that uses the Priority Shipping method? | in 2021 refers to substr(order_date, 1, 4) = '2021'; priority shipping method refers to method_name = 'Priority' | publisher have the word 'book' refers to publisher_name LIKE '%book%' |
Among all orders updated in 2022, identify the percentage that has been returned. | 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 | 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 |
Among all orders updated in 2022, identify the percentage that has been returned. | 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 | "The Illuminati" is the title of book |
Among all orders updated in 2022, identify the percentage that has been returned. | 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 | author named 'George' refers to author_name = 'George%' |
Among all orders updated in 2022, identify the percentage that has been returned. | 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 | customer refers to first_name, last_name; the most address refers to Max(count(address_id)) |
Among all orders updated in 2022, identify the percentage that has been returned. | 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 | complete address refers to street_number, street_name, city, country; "Lazaro Cardenas" is the city |
Among all orders updated in 2022, identify the percentage that has been returned. | 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 | 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 |
Among all orders updated in 2022, identify the percentage that has been returned. | 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 | country refers to country_name |
Among all orders updated in 2022, identify the percentage that has been returned. | 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 | publisher refers to publisher_name; oldest book refers to Min(publication_date) |
Among all orders updated in 2022, identify the percentage that has been returned. | 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 | "Hirohiko Araki" is the author_name; on 6/6/2006 refers to publication_date = '2006-06-06'; which book refers to title |
Among all orders updated in 2022, identify the percentage that has been returned. | 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 | address refers to street_name, city; received the most orders refers to Max(count(dest_address_id)) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.