query
stringlengths
24
325
positive
stringlengths
1
580
negative
stringlengths
1
580
List out 3 best seller products during year 2003 with their total quantity sold during 2003.
Best selling products refer to products with MAX(quantityOrdered); 2003 refers to year(orderDate) = 2003;
Employee 1370 refers to employeeNumber = '1370';
List out 3 best seller products during year 2003 with their total quantity sold during 2003.
Best selling products refer to products with MAX(quantityOrdered); 2003 refers to year(orderDate) = 2003;
President refers to the jobTitle;
List out 3 best seller products during year 2003 with their total quantity sold during 2003.
Best selling products refer to products with MAX(quantityOrdered); 2003 refers to year(orderDate) = 2003;
Transactions payment lower than 10000 refer to COUNT(amount) < 1000; by year refers to YEAR(paymentDate)
List out 3 best seller products during year 2003 with their total quantity sold during 2003.
Best selling products refer to products with MAX(quantityOrdered); 2003 refers to year(orderDate) = 2003;
The most ordered quantity product refers to productName where Max(quantityOrdered); SUBTRACT(MSRP, buyPrice);
List out 3 best seller products during year 2003 with their total quantity sold during 2003.
Best selling products refer to products with MAX(quantityOrdered); 2003 refers to year(orderDate) = 2003;
average amount payment = AVG(amount);
List out 3 best seller products during year 2003 with their total quantity sold during 2003.
Best selling products refer to products with MAX(quantityOrdered); 2003 refers to year(orderDate) = 2003;
full address = addressLine1+addressLine2; shippedDate = '2005-04-04';
List out 3 best seller products during year 2003 with their total quantity sold during 2003.
Best selling products refer to products with MAX(quantityOrdered); 2003 refers to year(orderDate) = 2003;
DIVIDE(SUM(amount) where customerName = 'Atelier graphique'), (SUM(amount)) as percentage where year(paymentDate) = 2004;
List out 3 best seller products during year 2003 with their total quantity sold during 2003.
Best selling products refer to products with MAX(quantityOrdered); 2003 refers to year(orderDate) = 2003;
Cruz & Sons Co. is name of customer; 2003/3/3 refers to orderDate;
List out 3 best seller products during year 2003 with their total quantity sold during 2003.
Best selling products refer to products with MAX(quantityOrdered); 2003 refers to year(orderDate) = 2003;
reportsTO' is the leader of the 'employeeNumber';
List out 3 best seller products during year 2003 with their total quantity sold during 2003.
Best selling products refer to products with MAX(quantityOrdered); 2003 refers to year(orderDate) = 2003;
Products refer to productCode; Expected profits = SUBTRACT(MSRP, buyPrice);
Please list the top three product names with the highest unit price.
The highest unit price refers to MAX(priceEach)
1939 'Chevrolet Deluxe Coupe' refers to productName; the highest price refers to MAX(priceEach)
Please list the top three product names with the highest unit price.
The highest unit price refers to MAX(priceEach)
inform refers to reportsTo; 'reportsTO' is the leader of the 'employeeNumber'; France is a country; country = 'France';
Please list the top three product names with the highest unit price.
The highest unit price refers to MAX(priceEach)
Cruz & Sons Co. is name of customer; ordered on 2003-03-03 refers to orderDate;
Please list the top three product names with the highest unit price.
The highest unit price refers to MAX(priceEach)
Sales Manager is a job title; Sydney is a city;
Please list the top three product names with the highest unit price.
The highest unit price refers to MAX(priceEach)
reportsTO' is the leader of the 'employeeNumber';
Please list the top three product names with the highest unit price.
The highest unit price refers to MAX(priceEach)
shipped orders refers to status = 'shipped'; year(shippedDate) = 2005; percentage = DIVIDE(SUM(customerNumber = 186)), COUNT(orderNumber)) as percentage;
Please list the top three product names with the highest unit price.
The highest unit price refers to MAX(priceEach)
average total price = DIVIDE(SUM(MULTIPLY(quantityOrdered, priceEach))), COUNT(orderNumber)); year(orderDate) = '2005';
Please list the top three product names with the highest unit price.
The highest unit price refers to MAX(priceEach)
Australia is a country; creditLimit < 20000;
Please list the top three product names with the highest unit price.
The highest unit price refers to MAX(priceEach)
Pay in total refers to SUM(amount);
Please list the top three product names with the highest unit price.
The highest unit price refers to MAX(priceEach)
full name = contactFirstName, contactLastName; Boston is a city;
What is the phone number of all companies where the last name of the contact person starts with the letter M and are not from Germany?
last name of contact person starts with M refers to lastName LIKE 'M%'; Germany is a country; not from Germany refers to country<>'Germany';
paymentdate BETWEEN '2003-01-01' AND '2004-12-31'; customers who have paid more than three times refers to (COUNT(customernumber)>3);
What is the phone number of all companies where the last name of the contact person starts with the letter M and are not from Germany?
last name of contact person starts with M refers to lastName LIKE 'M%'; Germany is a country; not from Germany refers to country<>'Germany';
The greatest expected profit refers to MAX(SUBTRACT(MSRP, buyPrice);
What is the phone number of all companies where the last name of the contact person starts with the letter M and are not from Germany?
last name of contact person starts with M refers to lastName LIKE 'M%'; Germany is a country; not from Germany refers to country<>'Germany';
1969 Harley Davidson Ultimate Chopper refers to the name of the product; sale rep refers to employee; 2003 refers to year(orderDate) = 2003; quantity sold refers to quantityOrdered; their names refer to the name of customers;
What is the phone number of all companies where the last name of the contact person starts with the letter M and are not from Germany?
last name of contact person starts with M refers to lastName LIKE 'M%'; Germany is a country; not from Germany refers to country<>'Germany';
Sales representative refers to jobTitle = 'Sales Rep'; country = 'USA';
What is the phone number of all companies where the last name of the contact person starts with the letter M and are not from Germany?
last name of contact person starts with M refers to lastName LIKE 'M%'; Germany is a country; not from Germany refers to country<>'Germany';
average total price = DIVIDE(MULTIPLY(quantityOrdered, priceEach)), COUNT(orderNumber)); German is a nationality of country = 'Germany'; shipped orders refers to status = 'Shipped';
What is the phone number of all companies where the last name of the contact person starts with the letter M and are not from Germany?
last name of contact person starts with M refers to lastName LIKE 'M%'; Germany is a country; not from Germany refers to country<>'Germany';
2005-04-08 and two days later refer to orderDate = '2005-04-08' and orderDate = '2005-04-10'; order with a higher value refers to MAX(Total price) = MULTIPLY(quantityOrdered, priceEach);
What is the phone number of all companies where the last name of the contact person starts with the letter M and are not from Germany?
last name of contact person starts with M refers to lastName LIKE 'M%'; Germany is a country; not from Germany refers to country<>'Germany';
Steve Patterson is an employee;
What is the phone number of all companies where the last name of the contact person starts with the letter M and are not from Germany?
last name of contact person starts with M refers to lastName LIKE 'M%'; Germany is a country; not from Germany refers to country<>'Germany';
DIVIDE(SUBTRACT(MSRP, priceEach)), MSRP); product No. S18_3482 refers to productCode = 'S18_3482'
What is the phone number of all companies where the last name of the contact person starts with the letter M and are not from Germany?
last name of contact person starts with M refers to lastName LIKE 'M%'; Germany is a country; not from Germany refers to country<>'Germany';
Gerakd Hermandez is an employee; French customer refers to customer from France where country = 'France'
What is the phone number of all companies where the last name of the contact person starts with the letter M and are not from Germany?
last name of contact person starts with M refers to lastName LIKE 'M%'; Germany is a country; not from Germany refers to country<>'Germany';
average amount payment = AVG(amount);
Which product did Cruz & Sons Co. order on 2003/3/3?
Cruz & Sons Co. is name of customer; 2003/3/3 refers to orderDate;
Still processing refers to status = 'In Process';
Which product did Cruz & Sons Co. order on 2003/3/3?
Cruz & Sons Co. is name of customer; 2003/3/3 refers to orderDate;
cancelled shipment refers to status = 'cancelled'; creditLimit > 115000;
Which product did Cruz & Sons Co. order on 2003/3/3?
Cruz & Sons Co. is name of customer; 2003/3/3 refers to orderDate;
average amount payment = AVG(amount);
Which product did Cruz & Sons Co. order on 2003/3/3?
Cruz & Sons Co. is name of customer; 2003/3/3 refers to orderDate;
full address = addressLine1+addressLine2; Sales Manager is a job title;
Which product did Cruz & Sons Co. order on 2003/3/3?
Cruz & Sons Co. is name of customer; 2003/3/3 refers to orderDate;
SUM(MULTIPLY(quantityOrdered, priceEach)) where productLine = 'Classic Cars'; status = 'Shipped'; customername = 'Land of Toys Inc';
Which product did Cruz & Sons Co. order on 2003/3/3?
Cruz & Sons Co. is name of customer; 2003/3/3 refers to orderDate;
paymentdate BETWEEN '2003-01-01' AND '2004-12-31'; customers who have paid more than three times refers to (COUNT(customernumber)>3);
Which product did Cruz & Sons Co. order on 2003/3/3?
Cruz & Sons Co. is name of customer; 2003/3/3 refers to orderDate;
average total price = DIVIDE(MULTIPLY(quantityOrdered, priceEach)), COUNT(orderNumber)); German is a nationality of country = 'Germany'; shipped orders refers to status = 'Shipped';
Which product did Cruz & Sons Co. order on 2003/3/3?
Cruz & Sons Co. is name of customer; 2003/3/3 refers to orderDate;
President refers to the jobTitle;
Which product did Cruz & Sons Co. order on 2003/3/3?
Cruz & Sons Co. is name of customer; 2003/3/3 refers to orderDate;
full name = firstName+LastName; Paris is a city;
Which product did Cruz & Sons Co. order on 2003/3/3?
Cruz & Sons Co. is name of customer; 2003/3/3 refers to orderDate;
The highest unit price refers to MAX(priceEach); when shipped refers to shippedDate;
How many transactions payment made by customer that is lower than 10000. Group the result by year.
Transactions payment lower than 10000 refer to COUNT(amount) < 1000; by year refers to YEAR(paymentDate)
E-mail address belongs to employee; customerName = 'Dragon Souveniers, Ltd.';
How many transactions payment made by customer that is lower than 10000. Group the result by year.
Transactions payment lower than 10000 refer to COUNT(amount) < 1000; by year refers to YEAR(paymentDate)
German is a nationality of country = 'Germany'; CREDITLIMIT = 0
How many transactions payment made by customer that is lower than 10000. Group the result by year.
Transactions payment lower than 10000 refer to COUNT(amount) < 1000; by year refers to YEAR(paymentDate)
SUM(MULTIPLY(quantityOrdered, priceEach)
How many transactions payment made by customer that is lower than 10000. Group the result by year.
Transactions payment lower than 10000 refer to COUNT(amount) < 1000; by year refers to YEAR(paymentDate)
Steve Patterson is an employee;
How many transactions payment made by customer that is lower than 10000. Group the result by year.
Transactions payment lower than 10000 refer to COUNT(amount) < 1000; by year refers to YEAR(paymentDate)
SUM(MULTIPLY(quantityOrdered, priceEach)) where productLine = 'Classic Cars'; status = 'Shipped'; customername = 'Land of Toys Inc';
How many transactions payment made by customer that is lower than 10000. Group the result by year.
Transactions payment lower than 10000 refer to COUNT(amount) < 1000; by year refers to YEAR(paymentDate)
The lowest amount of orders refers to MIN(quantityOrdered);
How many transactions payment made by customer that is lower than 10000. Group the result by year.
Transactions payment lower than 10000 refer to COUNT(amount) < 1000; by year refers to YEAR(paymentDate)
average total price = DIVIDE(SUM(MULTIPLY(quantityOrdered, priceEach))), COUNT(orderNumber)); year(orderDate) = '2005';
How many transactions payment made by customer that is lower than 10000. Group the result by year.
Transactions payment lower than 10000 refer to COUNT(amount) < 1000; by year refers to YEAR(paymentDate)
Cruz & Sons Co. is name of customer; the biggest amount refers to MAX(quantityOrdered).
How many transactions payment made by customer that is lower than 10000. Group the result by year.
Transactions payment lower than 10000 refer to COUNT(amount) < 1000; by year refers to YEAR(paymentDate)
orderDate between '2005-01-01' and '2005-12-31'; full address = addressLine1+addressLine2;
How many transactions payment made by customer that is lower than 10000. Group the result by year.
Transactions payment lower than 10000 refer to COUNT(amount) < 1000; by year refers to YEAR(paymentDate)
Euro+ Shopping Channel is a customer name; year(paymentDate) = '2004';
For Which order was the most profitable, please list the customer name of the order and the profit of the order.
Most profitable order can be computed as MAX(MULTIPLY(quantityOrdered, SUBTRACT(priceEach, buyPrice)).
Gerakd Hermandez is an employee; French customer refers to customer from France where country = 'France'
For Which order was the most profitable, please list the customer name of the order and the profit of the order.
Most profitable order can be computed as MAX(MULTIPLY(quantityOrdered, SUBTRACT(priceEach, buyPrice)).
shipped orders refers to status = 'shipped'; year(shippedDate) = 2005; percentage = DIVIDE(SUM(customerNumber = 186)), COUNT(orderNumber)) as percentage;
For Which order was the most profitable, please list the customer name of the order and the profit of the order.
Most profitable order can be computed as MAX(MULTIPLY(quantityOrdered, SUBTRACT(priceEach, buyPrice)).
DIVIDE(SUBTRACT(MSRP, priceEach)), MSRP); product No. S18_3482 refers to productCode = 'S18_3482'
For Which order was the most profitable, please list the customer name of the order and the profit of the order.
Most profitable order can be computed as MAX(MULTIPLY(quantityOrdered, SUBTRACT(priceEach, buyPrice)).
Euro+ Shopping Channel is a customer name; year(paymentDate) = '2004';
For Which order was the most profitable, please list the customer name of the order and the profit of the order.
Most profitable order can be computed as MAX(MULTIPLY(quantityOrdered, SUBTRACT(priceEach, buyPrice)).
orderDate between '2005-01-01' and '2005-12-31'; full address = addressLine1+addressLine2;
For Which order was the most profitable, please list the customer name of the order and the profit of the order.
Most profitable order can be computed as MAX(MULTIPLY(quantityOrdered, SUBTRACT(priceEach, buyPrice)).
Products refer to productCode; Expected profits = SUBTRACT(MSRP, buyPrice);
For Which order was the most profitable, please list the customer name of the order and the profit of the order.
Most profitable order can be computed as MAX(MULTIPLY(quantityOrdered, SUBTRACT(priceEach, buyPrice)).
Muscle Machine Inc is name of customer; superior refers to 'reportsTO', who is the leader of the 'employeeNumber'
For Which order was the most profitable, please list the customer name of the order and the profit of the order.
Most profitable order can be computed as MAX(MULTIPLY(quantityOrdered, SUBTRACT(priceEach, buyPrice)).
Best selling products refer to products with MAX(quantityOrdered); 2003 refers to year(orderDate) = 2003;
For Which order was the most profitable, please list the customer name of the order and the profit of the order.
Most profitable order can be computed as MAX(MULTIPLY(quantityOrdered, SUBTRACT(priceEach, buyPrice)).
VP Sales refers to jobTitle
For Which order was the most profitable, please list the customer name of the order and the profit of the order.
Most profitable order can be computed as MAX(MULTIPLY(quantityOrdered, SUBTRACT(priceEach, buyPrice)).
reportsTO' is the leader of the 'employeeNumber';
How much did customer 103 pay in total?
Pay in total refers to SUM(amount);
full address = addressLine1+addressLine2; shippedDate = '2005-04-04';
How much did customer 103 pay in total?
Pay in total refers to SUM(amount);
Cruz & Sons Co. is name of customer; ordered on 2003-03-03 refers to orderDate;
How much did customer 103 pay in total?
Pay in total refers to SUM(amount);
Australia is a country; creditLimit < 20000;
How much did customer 103 pay in total?
Pay in total refers to SUM(amount);
The lowest amount of orders refers to MIN(quantityOrdered);
How much did customer 103 pay in total?
Pay in total refers to SUM(amount);
Cruz & Sons Co. is name of customer; the biggest amount refers to MAX(quantityOrdered).
How much did customer 103 pay in total?
Pay in total refers to SUM(amount);
Still processing refers to status = 'In Process';
How much did customer 103 pay in total?
Pay in total refers to SUM(amount);
Best selling products refer to products with MAX(quantityOrdered); 2003 refers to year(orderDate) = 2003;
How much did customer 103 pay in total?
Pay in total refers to SUM(amount);
Sales Manager is a job title; Sydney is a city;
How much did customer 103 pay in total?
Pay in total refers to SUM(amount);
Products refer to productCode; Expected profits = SUBTRACT(MSRP, buyPrice);
How much did customer 103 pay in total?
Pay in total refers to SUM(amount);
code of employee refers to employeeNumber; United States of America refers to country = 'USA';
What is the full address of the customer who commented that DHL be used for the order that was shipped on April 4, 2005?
full address = addressLine1+addressLine2; shippedDate = '2005-04-04';
Pay in total refers to SUM(amount);
What is the full address of the customer who commented that DHL be used for the order that was shipped on April 4, 2005?
full address = addressLine1+addressLine2; shippedDate = '2005-04-04';
Still processing refers to status = 'In Process';
What is the full address of the customer who commented that DHL be used for the order that was shipped on April 4, 2005?
full address = addressLine1+addressLine2; shippedDate = '2005-04-04';
Best selling products refer to products with MAX(quantityOrdered); 2003 refers to year(orderDate) = 2003;
What is the full address of the customer who commented that DHL be used for the order that was shipped on April 4, 2005?
full address = addressLine1+addressLine2; shippedDate = '2005-04-04';
The highest unit price refers to MAX(priceEach)
What is the full address of the customer who commented that DHL be used for the order that was shipped on April 4, 2005?
full address = addressLine1+addressLine2; shippedDate = '2005-04-04';
E-mail address belongs to employee; customerName = 'Dragon Souveniers, Ltd.';
What is the full address of the customer who commented that DHL be used for the order that was shipped on April 4, 2005?
full address = addressLine1+addressLine2; shippedDate = '2005-04-04';
Most profitable order can be computed as MAX(MULTIPLY(quantityOrdered, SUBTRACT(priceEach, buyPrice)).
What is the full address of the customer who commented that DHL be used for the order that was shipped on April 4, 2005?
full address = addressLine1+addressLine2; shippedDate = '2005-04-04';
classic car is a product line; most ordered product refers to MAX(quantityOrdered);
What is the full address of the customer who commented that DHL be used for the order that was shipped on April 4, 2005?
full address = addressLine1+addressLine2; shippedDate = '2005-04-04';
1969 Harley Davidson Ultimate Chopper refers to the name of the product; sale rep refers to employee; 2003 refers to year(orderDate) = 2003; quantity sold refers to quantityOrdered; their names refer to the name of customers;
What is the full address of the customer who commented that DHL be used for the order that was shipped on April 4, 2005?
full address = addressLine1+addressLine2; shippedDate = '2005-04-04';
Planes is a product line;
What is the full address of the customer who commented that DHL be used for the order that was shipped on April 4, 2005?
full address = addressLine1+addressLine2; shippedDate = '2005-04-04';
Transactions payment lower than 10000 refer to COUNT(amount) < 1000; by year refers to YEAR(paymentDate)
What is the total price of the order 10100?
SUM(MULTIPLY(quantityOrdered, priceEach)
full name = contactFirstName, contactLastName; Boston is a city;
What is the total price of the order 10100?
SUM(MULTIPLY(quantityOrdered, priceEach)
reportsTO' is the leader of the 'employeeNumber';
What is the total price of the order 10100?
SUM(MULTIPLY(quantityOrdered, priceEach)
orderDate between '2005-01-01' and '2005-12-31'; full address = addressLine1+addressLine2;
What is the total price of the order 10100?
SUM(MULTIPLY(quantityOrdered, priceEach)
Products refer to productCode; Expected profits = SUBTRACT(MSRP, buyPrice);
What is the total price of the order 10100?
SUM(MULTIPLY(quantityOrdered, priceEach)
full address = addressLine1 + addressLine2; NYC is a shortname of New York City.
What is the total price of the order 10100?
SUM(MULTIPLY(quantityOrdered, priceEach)
cancelled shipment refers to status = 'cancelled'; creditLimit > 115000;
What is the total price of the order 10100?
SUM(MULTIPLY(quantityOrdered, priceEach)
President refers to the jobTitle;
What is the total price of the order 10100?
SUM(MULTIPLY(quantityOrdered, priceEach)
The greatest expected profit refers to MAX(SUBTRACT(MSRP, buyPrice);
What is the total price of the order 10100?
SUM(MULTIPLY(quantityOrdered, priceEach)
USA is a country; total amount payment refers to SUM(amount);
What is the total price of the order 10100?
SUM(MULTIPLY(quantityOrdered, priceEach)
full address = addressLine1+addressLine2; shippedDate = '2005-04-04';
Name the product from the 'Classic Cars' production line that has the greatest expected profit.
The greatest expected profit refers to MAX(SUBTRACT(MSRP, buyPrice);
Still processing refers to status = 'In Process';
Name the product from the 'Classic Cars' production line that has the greatest expected profit.
The greatest expected profit refers to MAX(SUBTRACT(MSRP, buyPrice);
The highest unit price refers to MAX(priceEach); when shipped refers to shippedDate;
Name the product from the 'Classic Cars' production line that has the greatest expected profit.
The greatest expected profit refers to MAX(SUBTRACT(MSRP, buyPrice);
full name = firstName+LastName; Paris is a city;
Name the product from the 'Classic Cars' production line that has the greatest expected profit.
The greatest expected profit refers to MAX(SUBTRACT(MSRP, buyPrice);
Australia is a country; creditLimit < 20000;
Name the product from the 'Classic Cars' production line that has the greatest expected profit.
The greatest expected profit refers to MAX(SUBTRACT(MSRP, buyPrice);
full address = addressLine1 + addressLine2; NYC is a shortname of New York City.
Name the product from the 'Classic Cars' production line that has the greatest expected profit.
The greatest expected profit refers to MAX(SUBTRACT(MSRP, buyPrice);
SUM(MULTIPLY(quantityOrdered, priceEach)) where productLine = 'Classic Cars'; status = 'Shipped'; customername = 'Land of Toys Inc';
Name the product from the 'Classic Cars' production line that has the greatest expected profit.
The greatest expected profit refers to MAX(SUBTRACT(MSRP, buyPrice);
Muscle Machine Inc is name of customer; superior refers to 'reportsTO', who is the leader of the 'employeeNumber'
Name the product from the 'Classic Cars' production line that has the greatest expected profit.
The greatest expected profit refers to MAX(SUBTRACT(MSRP, buyPrice);
country = 'USA'
Name the product from the 'Classic Cars' production line that has the greatest expected profit.
The greatest expected profit refers to MAX(SUBTRACT(MSRP, buyPrice);
Most profitable order can be computed as MAX(MULTIPLY(quantityOrdered, SUBTRACT(priceEach, buyPrice)).
Name the product from the 'Classic Cars' production line that has the greatest expected profit.
The greatest expected profit refers to MAX(SUBTRACT(MSRP, buyPrice);
average total price = DIVIDE(MULTIPLY(quantityOrdered, priceEach)), COUNT(orderNumber)); German is a nationality of country = 'Germany'; shipped orders refers to status = 'Shipped';