query
stringlengths 24
325
| positive
stringlengths 1
580
| negative
stringlengths 1
580
|
---|---|---|
Calculate the percentage of the International shipping orders on 2022/11/10. | 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 | Japanese book refers to language_name = 'Japanese'; earliest published refers to Min(publication_date) |
Calculate the percentage of the International shipping orders on 2022/11/10. | 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 | "Thomas Nelson" is the publisher_name; books with over 300 pages refers to num_pages > 300 |
Calculate the percentage of the International shipping orders on 2022/11/10. | 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 | "Brava" is the publisher_name; in 2006 refers to SUBSTR(publication_date, 1, 4) = '2006' |
Calculate the percentage of the International shipping orders on 2022/11/10. | 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 | "The Prophet" is the title of the book: total price refers to Sum(price) |
Calculate the percentage of the International shipping orders on 2022/11/10. | 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 | "First Things First" is the title of the book; author refers to author_name |
Calculate the percentage of the International shipping orders on 2022/11/10. | 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 | name of publisher refers to publisher_name |
Calculate the percentage of the International shipping orders on 2022/11/10. | 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 | "O Xará" is the title of the book |
Calculate the percentage of the International shipping orders on 2022/11/10. | 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 | books with a price range of 3 to 5 dollars refers to price BETWEEN 3 AND 5 |
Calculate the percentage of the International shipping orders on 2022/11/10. | 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 | shipped by international method refers to method_name = 'International'; percentage = Divide (Sum(method_name = 'International'), Count(method_name)) * 100 |
Calculate the percentage of the International shipping orders on 2022/11/10. | 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 | books with the most number of pages refers to Max(num_pages); published from 1990 to 2000 refers to SUBSTR(publication_date, 1, 4) BETWEEN '1990' AND '2000'; 'Free Press' is the publisher_name |
Who wrote "The Prophet"? | "The Prophet" is the title of the book: who wrote refers to author_name | priority method refers to method_name = 'Priority' |
Who wrote "The Prophet"? | "The Prophet" is the title of the book: who wrote refers to author_name | "[email protected]" is the email of customer; full name refers to first_name, last_name |
Who wrote "The Prophet"? | "The Prophet" is the title of the book: who wrote refers to author_name | "Brava" is the publisher_name; in 2006 refers to SUBSTR(publication_date, 1, 4) = '2006' |
Who wrote "The Prophet"? | "The Prophet" is the title of the book: who wrote refers to author_name | Japanese book refers to language_name = 'Japanese'; earliest published refers to Min(publication_date) |
Who wrote "The Prophet"? | "The Prophet" is the title of the book: who wrote refers to author_name | returned refers to status_value = 'Returned'; in the year 2020 refers to status_date LIKE '%2020%' |
Who wrote "The Prophet"? | "The Prophet" is the title of the book: who wrote refers to author_name | "Hitchhiker's Guide To The Galaxy: The Filming of the Douglas Adams classic" is the title of the book; publisher refers to publisher_name |
Who wrote "The Prophet"? | "The Prophet" is the title of the book: who wrote refers to author_name | books refers to title; the most orders refers to Max(Count(order_id)) |
Who wrote "The Prophet"? | "The Prophet" is the title of the book: who wrote refers to author_name | under 300 pages refers to num_pages < 300; 'HarperCollins Publishers" is the publisher_name |
Who wrote "The Prophet"? | "The Prophet" is the title of the book: who wrote refers to author_name | "Anleitung zum Zickigsein" is the title of the book |
Who wrote "The Prophet"? | "The Prophet" is the title of the book: who wrote refers to author_name | in 2021 refers to substr(order_date, 1, 4) = '2021'; priority shipping method refers to method_name = 'Priority' |
Sum the total price of the orders for The Prophet book. | "The Prophet" is the title of the book: total price refers to Sum(price) | "[email protected]" is the email of customer; full name refers to first_name, last_name |
Sum the total price of the orders for The Prophet book. | "The Prophet" is the title of the book: total price refers to Sum(price) | "Seaward" is the title of the book; pages refers to num_pages |
Sum the total price of the orders for The Prophet book. | "The Prophet" is the title of the book: total price refers to Sum(price) | "Thomas Nelson" is the publisher_name |
Sum the total price of the orders for The Prophet book. | "The Prophet" is the title of the book: total price refers to Sum(price) | Iran as their destination refers to country_name = 'Iran'; orders in 2022 refers to order_date LIKE '2022%' |
Sum the total price of the orders for The Prophet book. | "The Prophet" is the title of the book: total price refers to Sum(price) | books in English refers to language_name = 'English' |
Sum the total price of the orders for The Prophet book. | "The Prophet" is the title of the book: total price refers to Sum(price) | "Danielle Steel" is the author_name; name of books refers to title |
Sum the total price of the orders for The Prophet book. | "The Prophet" is the title of the book: total price refers to Sum(price) | "Brava" is the publisher_name; in 2006 refers to SUBSTR(publication_date, 1, 4) = '2006' |
Sum the total price of the orders for The Prophet book. | "The Prophet" is the title of the book: total price refers to Sum(price) | "Arabic" is the language_name; book refers to title |
Sum the total price of the orders for The Prophet book. | "The Prophet" is the title of the book: total price refers to Sum(price) | delivered refers to status_value = 'Delivered'; in 2021 refers to status_date LIKE '2021%' |
Sum the total price of the orders for The Prophet book. | "The Prophet" is the title of the book: total price refers to Sum(price) | "9780763628321" is the isbn13 |
What is the full name of the customer who owns the "[email protected]" e-mail address? | "[email protected]" is the email of customer; full name refers to first_name, last_name | returned refers to status_value = 'Returned'; in the year 2020 refers to status_date LIKE '%2020%' |
What is the full name of the customer who owns the "[email protected]" e-mail address? | "[email protected]" is the email of customer; full name refers to first_name, last_name | "A.R. Braunmuller" is the author_name |
What is the full name of the customer who owns the "[email protected]" e-mail address? | "[email protected]" is the email of customer; full name refers to first_name, last_name | Japanese book refers to language_name = 'Japanese'; earliest published refers to Min(publication_date) |
What is the full name of the customer who owns the "[email protected]" e-mail address? | "[email protected]" is the email of customer; full name refers to first_name, last_name | shipping cost refers to cost; ordered in 2022 refers to order_date LIKE '2022%' |
What is the full name of the customer who owns the "[email protected]" e-mail address? | "[email protected]" is the email of customer; full name refers to first_name, last_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 |
What is the full name of the customer who owns the "[email protected]" e-mail address? | "[email protected]" is the email of customer; full name refers to first_name, last_name | cancelled refers to status_value = 'Cancelled'; in 2022 refers to SUBSTR(status_date, 1, 4) = '2022' |
What is the full name of the customer who owns the "[email protected]" e-mail address? | "[email protected]" is the email of customer; full name refers to first_name, last_name | author named 'George' refers to author_name = 'George%' |
What is the full name of the customer who owns the "[email protected]" e-mail address? | "[email protected]" is the email of customer; full name refers to first_name, last_name | authors refers to author_name; more than 3000 pages refers to num_pages > 3000 |
What is the full name of the customer who owns the "[email protected]" e-mail address? | "[email protected]" is the email of customer; full name refers to first_name, last_name | street refers to street_name; last number of each street refers to Substr (street_number, -1) |
What is the full name of the customer who owns the "[email protected]" e-mail address? | "[email protected]" is the email of customer; full name refers to first_name, last_name | placed on 04/10/2022 refers to SUBSTR(order_date, 1, 10) = '2022-04-10'; status of order refers to status_value |
What is the number of pages of the book in the order ID 1167? | number of pages refers to num_pages | Japanese book refers to language_name = 'Japanese'; earliest published refers to Min(publication_date) |
What is the number of pages of the book in the order ID 1167? | number of pages refers to num_pages | most expensive book refers to Max(price) |
What is the number of pages of the book in the order ID 1167? | number of pages refers to num_pages | published at least 30 books refers to Count(book_id) > = 30 |
What is the number of pages of the book in the order ID 1167? | number of pages refers to num_pages | priority method refers to method_name = 'Priority' |
What is the number of pages of the book in the order ID 1167? | number of pages refers to num_pages | books with the most number of pages refers to Max(num_pages); published from 1990 to 2000 refers to SUBSTR(publication_date, 1, 4) BETWEEN '1990' AND '2000'; 'Free Press' is the publisher_name |
What is the number of pages of the book in the order ID 1167? | number of pages refers to num_pages | "El plan infinito" is the title of the book; language refers to language_name |
What is the number of pages of the book in the order ID 1167? | number of pages refers to num_pages | full name refers to first_name, last_name; '55' is the street_number, 'Dorton Pass' is the street_name; 'Huangqiao' is the city |
What is the number of pages of the book in the order ID 1167? | number of pages refers to num_pages | "23755004321" is the isbn13; language refers to language_name |
What is the number of pages of the book in the order ID 1167? | number of pages refers to num_pages | "Orson Scott Card" is the author_name; released in 2001 refers to publication_date LIKE '2001%'; books refers to title |
What is the number of pages of the book in the order ID 1167? | number of pages refers to num_pages | book with the most pages refers to Max(num_pages) |
Which language is 'El plan infinito' written in? | "El plan infinito" is the title of the book; language refers to language_name | "Abrams" is the publisher_name; author's name refers to author_name |
Which language is 'El plan infinito' written in? | "El plan infinito" is the title of the book; language refers to language_name | shipping cost refers to cost; ordered in 2022 refers to order_date LIKE '2022%' |
Which language is 'El plan infinito' written in? | "El plan infinito" is the title of the book; language refers to language_name | cancelled refers to status_value = 'Cancelled'; in 2022 refers to SUBSTR(status_date, 1, 4) = '2022' |
Which language is 'El plan infinito' written in? | "El plan infinito" is the title of the book; language refers to language_name | full name refers to first_name, last_name; '55' is the street_number, 'Dorton Pass' is the street_name; 'Huangqiao' is the city |
Which language is 'El plan infinito' written in? | "El plan infinito" is the title of the book; language refers to language_name | "A.J. Ayer" is the author_name; |
Which language is 'El plan infinito' written in? | "El plan infinito" is the title of the book; language refers to language_name | total price refers to Sum(price) |
Which language is 'El plan infinito' written in? | "El plan infinito" is the title of the book; language refers to language_name | "The Illuminati" is the title of book |
Which language is 'El plan infinito' written in? | "El plan infinito" is the title of the book; language refers to language_name | in 2021 refers to substr(order_date, 1, 4) = '2021'; priority shipping method refers to method_name = 'Priority' |
Which language is 'El plan infinito' written in? | "El plan infinito" is the title of the book; language refers to language_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 |
Which language is 'El plan infinito' written in? | "El plan infinito" is the title of the book; language refers to language_name | via international shipping refers to method_name = 'International' |
What is the cheapest order price of the book "The Little House"? | "The Little House" is the title of book; cheapest order price refers to Min(price) | most order refers to Max(Count(order_id)); customer refers to first_name, last_name |
What is the cheapest order price of the book "The Little House"? | "The Little House" is the title of book; cheapest order price refers to Min(price) | "El plan infinito" is the title of the book; language refers to language_name |
What is the cheapest order price of the book "The Little House"? | "The Little House" is the title of book; cheapest order price refers to Min(price) | "Costa Rica" is the country_name |
What is the cheapest order price of the book "The Little House"? | "The Little House" is the title of book; cheapest order price refers to Min(price) | "Bite Me If You Can (Argeneau #6)" is the title of the book; most expensive price refers to Max(price) |
What is the cheapest order price of the book "The Little House"? | "The Little House" is the title of book; cheapest order price refers to Min(price) | International Standard Book Number refers to isbn13; 'The Mystery in the Rocky Mountains' is the title of the book |
What is the cheapest order price of the book "The Little House"? | "The Little House" is the title of book; cheapest order price refers to Min(price) | "Seaward" is the title of the book; pages refers to num_pages |
What is the cheapest order price of the book "The Little House"? | "The Little House" is the title of book; cheapest order price refers to Min(price) | "2398" is the order_id; time = Subtract(strftime('%Y', status_date), strftime('%Y', order_date)) AS "year" , Subtract(strftime('%m', status_date), strftime('%m', order_date)) AS "month", Subtract (strftime('%d', status_date), strftime('%d', order_date)) AS "day" |
What is the cheapest order price of the book "The Little House"? | "The Little House" is the title of book; cheapest order price refers to Min(price) | "Barry Eisler" is the author_name; publisher refers to publisher_name |
What is the cheapest order price of the book "The Little House"? | "The Little House" is the title of book; cheapest order price refers to Min(price) | "Arabic" is the language_name; book refers to title |
What is the cheapest order price of the book "The Little House"? | "The Little House" is the title of book; cheapest order price refers to Min(price) | "AK Press" is the publisher_name |
What is the most expensive price paid by a customer for the book "Bite Me If You Can (Argeneau #6)"? | "Bite Me If You Can (Argeneau #6)" is the title of the book; most expensive price refers to Max(price) | "The Prophet" is the title of the book; highest price refers to Max(price) |
What is the most expensive price paid by a customer for the book "Bite Me If You Can (Argeneau #6)"? | "Bite Me If You Can (Argeneau #6)" is the title of the book; most expensive price refers to Max(price) | number of pages refers to num_pages; average = Divide (Sum(num_pages), Count(book_id)) |
What is the most expensive price paid by a customer for the book "Bite Me If You Can (Argeneau #6)"? | "Bite Me If You Can (Argeneau #6)" is the title of the book; most expensive price refers to Max(price) | "AK Press" is the publisher_name |
What is the most expensive price paid by a customer for the book "Bite Me If You Can (Argeneau #6)"? | "Bite Me If You Can (Argeneau #6)" is the title of the book; most expensive price refers to Max(price) | "Costa Rica" is the country_name |
What is the most expensive price paid by a customer for the book "Bite Me If You Can (Argeneau #6)"? | "Bite Me If You Can (Argeneau #6)" is the title of the book; most expensive price refers to Max(price) | "Agatha Christie" is the author_name; name of publisher refers to publisher_name; first book refers to Min(publication_date) |
What is the most expensive price paid by a customer for the book "Bite Me If You Can (Argeneau #6)"? | "Bite Me If You Can (Argeneau #6)" is the title of the book; most expensive price refers to Max(price) | books cost 19 dollars and above refers to price > = 19 |
What is the most expensive price paid by a customer for the book "Bite Me If You Can (Argeneau #6)"? | "Bite Me If You Can (Argeneau #6)" is the title of the book; most expensive price refers to Max(price) | "First Things First" is the title of the book; author refers to author_name |
What is the most expensive price paid by a customer for the book "Bite Me If You Can (Argeneau #6)"? | "Bite Me If You Can (Argeneau #6)" is the title of the book; most expensive price refers to Max(price) | most expensive book refers to Max(price) |
What is the most expensive price paid by a customer for the book "Bite Me If You Can (Argeneau #6)"? | "Bite Me If You Can (Argeneau #6)" is the title of the book; most expensive price refers to Max(price) | country refers to country_name |
What is the most expensive price paid by a customer for the book "Bite Me If You Can (Argeneau #6)"? | "Bite Me If You Can (Argeneau #6)" is the title of the book; most expensive price refers to Max(price) | "Ace Hardcover" is the publisher_name |
How many books were published by Kensington? | "Kensington" is the publisher_name; | 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 |
How many books were published by Kensington? | "Kensington" is the publisher_name; | oldest book refers to Min(publiation_date) |
How many books were published by Kensington? | "Kensington" 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 Kensington? | "Kensington" is the publisher_name; | "Anleitung zum Zickigsein" is the title of the book |
How many books were published by Kensington? | "Kensington" 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 Kensington? | "Kensington" is the publisher_name; | complete address refers to street_number, street_name, city, country; "Lazaro Cardenas" is the city |
How many books were published by Kensington? | "Kensington" 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 Kensington? | "Kensington" is the publisher_name; | name of publisher refers to publisher_name |
How many books were published by Kensington? | "Kensington" is the publisher_name; | "Birlinn" is the publisher_name; books have pages around 600 to 700 refers to num_pages BETWEEN 600 AND 700; in 2008 refers to SUBSTR(publication_date, 1, 4) = '2008' |
How many books were published by Kensington? | "Kensington" is the publisher_name; | "Brava" is the publisher_name; in 2006 refers to SUBSTR(publication_date, 1, 4) = '2006' |
How many orders were returned in the year 2020? | returned refers to status_value = 'Returned'; in the year 2020 refers to status_date LIKE '%2020%' | books in English refers to language_name = 'English' |
How many orders were returned in the year 2020? | returned refers to status_value = 'Returned'; in the year 2020 refers to status_date LIKE '%2020%' | "[email protected]" is the email of customer; ISBN refers to isbn13 |
How many orders were returned in the year 2020? | returned refers to status_value = 'Returned'; in the year 2020 refers to status_date LIKE '%2020%' | "Danielle Steel" is the author_name; name of books refers to title |
How many orders were returned in the year 2020? | returned refers to status_value = 'Returned'; in the year 2020 refers to status_date LIKE '%2020%' | books with the most number of pages refers to Max(num_pages); published from 1990 to 2000 refers to SUBSTR(publication_date, 1, 4) BETWEEN '1990' AND '2000'; 'Free Press' is the publisher_name |
How many orders were returned in the year 2020? | returned refers to status_value = 'Returned'; in the year 2020 refers to status_date LIKE '%2020%' | full name refers to first_name, last_name; 'The Sorrows of Young Werther' is the title of the book |
How many orders were returned in the year 2020? | returned refers to status_value = 'Returned'; in the year 2020 refers to status_date LIKE '%2020%' | most common domain for the email refers to Max(Count(SUBSTR(email, CHARINDEX('@', email) + 1, length(email) - charindex('@', email)))) |
How many orders were returned in the year 2020? | returned refers to status_value = 'Returned'; in the year 2020 refers to status_date LIKE '%2020%' | "Priority" and "Express" are both method_name; cost difference = Subtract (Sum(cost where method_name = 'Express'), Sum(cost where method_name 'Priority')) |
How many orders were returned in the year 2020? | returned refers to status_value = 'Returned'; in the year 2020 refers to status_date LIKE '%2020%' | English book refers to language_name = 'English'; 'Carole Marsh Mysteries' is the publisher_name; average = Divide (Count(language_name = 'English'), Count(book_id)) |
How many orders were returned in the year 2020? | returned refers to status_value = 'Returned'; in the year 2020 refers to status_date LIKE '%2020%' | "Orson Scott Card" is the author_name; released in 2001 refers to publication_date LIKE '2001%'; books refers to title |
How many orders were returned in the year 2020? | returned refers to status_value = 'Returned'; in the year 2020 refers to status_date LIKE '%2020%' | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.