query
stringlengths
24
325
positive
stringlengths
1
580
negative
stringlengths
1
580
How many sales representitives are based in the offices in the USA?
Sales representative refers to jobTitle = 'Sales Rep'; country = 'USA';
staff of refers to reportsTO; San Francisco is a city;
How many sales representitives are based in the offices in the USA?
Sales representative refers to jobTitle = 'Sales Rep'; country = 'USA';
Gerakd Hermandez is an employee; French customer refers to customer from France where country = 'France'
How many sales representitives are based in the offices in the USA?
Sales representative refers to jobTitle = 'Sales Rep'; country = 'USA';
plane is a product line; total price = MULTIPLY(quantityOrdered, priceEach); how much the total price exceeds the average = SUBTRACT(MAX(MULTIPLY(quantityOrdered, priceEach))), AVG(priceEach));
How many sales representitives are based in the offices in the USA?
Sales representative refers to jobTitle = 'Sales Rep'; country = 'USA';
USA is a country; total amount payment refers to SUM(amount);
How many sales representitives are based in the offices in the USA?
Sales representative refers to jobTitle = 'Sales Rep'; country = 'USA';
Orders that are disputed refer to status = 'Disputed'; the sales representative means employees; names refers to firstName, lastName.
How many sales representitives are based in the offices in the USA?
Sales representative refers to jobTitle = 'Sales Rep'; country = 'USA';
paymentDate BETWEEN '2003-08-01' AND '2004-08-30'; Mini Gifts Distributors Ltd. Is a customer name;
How many sales representitives are based in the offices in the USA?
Sales representative refers to jobTitle = 'Sales Rep'; country = 'USA';
The largest order in terms of total price refers to MAX(SUM(MULTIPLY(quantityOrdered, priceEach)).
How many sales representitives are based in the offices in the USA?
Sales representative refers to jobTitle = 'Sales Rep'; country = 'USA';
Best selling products refer to products with MAX(quantityOrdered); 2003 refers to year(orderDate) = 2003;
How many sales representitives are based in the offices in the USA?
Sales representative refers to jobTitle = 'Sales Rep'; country = 'USA';
Cruz & Sons Co. is name of customer; ordered on 2003-03-03 refers to orderDate;
How many sales representitives are based in the offices in the USA?
Sales representative refers to jobTitle = 'Sales Rep'; country = 'USA';
VP Sales refers to jobTitle
How many products with the highest expected profits were sold in total?
Products refer to productCode; Expected profits = SUBTRACT(MSRP, buyPrice);
DIVIDE(SUBTRACT(MSRP, priceEach)), MSRP); product No. S18_3482 refers to productCode = 'S18_3482'
How many products with the highest expected profits were sold in total?
Products refer to productCode; Expected profits = SUBTRACT(MSRP, buyPrice);
full address = addressLine1 + addressLine2; NYC is a shortname of New York City.
How many products with the highest expected profits were sold in total?
Products refer to productCode; Expected profits = SUBTRACT(MSRP, buyPrice);
President refers to the jobTitle;
How many products with the highest expected profits were sold in total?
Products refer to productCode; Expected profits = SUBTRACT(MSRP, buyPrice);
The most ordered quantity product refers to productName where Max(quantityOrdered); SUBTRACT(MSRP, buyPrice);
How many products with the highest expected profits were sold in total?
Products refer to productCode; Expected profits = SUBTRACT(MSRP, buyPrice);
The highest unit price refers to MAX(priceEach); when shipped refers to shippedDate;
How many products with the highest expected profits were sold in total?
Products refer to productCode; Expected profits = SUBTRACT(MSRP, buyPrice);
paymentDate BETWEEN '2003-08-01' AND '2004-08-30'; Mini Gifts Distributors Ltd. Is a customer name;
How many products with the highest expected profits were sold in total?
Products refer to productCode; Expected profits = SUBTRACT(MSRP, buyPrice);
staff of refers to reportsTO; San Francisco is a city;
How many products with the highest expected profits were sold in total?
Products refer to productCode; Expected profits = SUBTRACT(MSRP, buyPrice);
The greatest expected profit refers to MAX(SUBTRACT(MSRP, buyPrice);
How many products with the highest expected profits were sold in total?
Products refer to productCode; Expected profits = SUBTRACT(MSRP, buyPrice);
cancelled shipment refers to status = 'cancelled'; creditLimit > 115000;
How many products with the highest expected profits were sold in total?
Products refer to productCode; Expected profits = SUBTRACT(MSRP, buyPrice);
reportsTO' is the leader of the 'employeeNumber';
If I'm from the Muscle Machine Inc, to which e-mail adress should I write a letter if I want to reach the superior of my sales representitive?
Muscle Machine Inc is name of customer; superior refers to 'reportsTO', who is the leader of the 'employeeNumber'
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;
If I'm from the Muscle Machine Inc, to which e-mail adress should I write a letter if I want to reach the superior of my sales representitive?
Muscle Machine Inc is name of customer; superior refers to 'reportsTO', who is the leader of the 'employeeNumber'
VP Sales refers to jobTitle
If I'm from the Muscle Machine Inc, to which e-mail adress should I write a letter if I want to reach the superior of my sales representitive?
Muscle Machine Inc is name of customer; superior refers to 'reportsTO', who is the leader of the 'employeeNumber'
Sales Manager is a job title; Sydney is a city;
If I'm from the Muscle Machine Inc, to which e-mail adress should I write a letter if I want to reach the superior of my sales representitive?
Muscle Machine Inc is name of customer; superior refers to 'reportsTO', who is the leader of the 'employeeNumber'
Products refer to productCode; Expected profits = SUBTRACT(MSRP, buyPrice);
If I'm from the Muscle Machine Inc, to which e-mail adress should I write a letter if I want to reach the superior of my sales representitive?
Muscle Machine Inc is name of customer; superior refers to 'reportsTO', who is the leader of the 'employeeNumber'
classic car is a product line; most ordered product refers to MAX(quantityOrdered);
If I'm from the Muscle Machine Inc, to which e-mail adress should I write a letter if I want to reach the superior of my sales representitive?
Muscle Machine Inc is name of customer; superior refers to 'reportsTO', who is the leader of the 'employeeNumber'
total payment refers to SUM(amount); no credit limit refers to creditLimit = 0; year(paymentDate) = '2003';
If I'm from the Muscle Machine Inc, to which e-mail adress should I write a letter if I want to reach the superior of my sales representitive?
Muscle Machine Inc is name of customer; superior refers to 'reportsTO', who is the leader of the 'employeeNumber'
Credit card does not have a limit refers to creditLimit = 45300;
If I'm from the Muscle Machine Inc, to which e-mail adress should I write a letter if I want to reach the superior of my sales representitive?
Muscle Machine Inc is name of customer; superior refers to 'reportsTO', who is the leader of the 'employeeNumber'
UK is a country; Sales Rep is a job title;
If I'm from the Muscle Machine Inc, to which e-mail adress should I write a letter if I want to reach the superior of my sales representitive?
Muscle Machine Inc is name of customer; superior refers to 'reportsTO', who is the leader of the 'employeeNumber'
inform refers to reportsTo; 'reportsTO' is the leader of the 'employeeNumber'; France is a country; country = 'France';
If I'm from the Muscle Machine Inc, to which e-mail adress should I write a letter if I want to reach the superior of my sales representitive?
Muscle Machine Inc is name of customer; superior refers to 'reportsTO', who is the leader of the 'employeeNumber'
Cruz & Sons Co. is name of customer; the biggest amount refers to MAX(quantityOrdered).
How many customers with a canceled shipment have a credit limit greater than 115,000?
cancelled shipment refers to status = 'cancelled'; creditLimit > 115000;
average amount of payments = DIVIDE(SUM(amount), COUNT(customerNumber); first half of 2014 refers to paymentDate > = '2004-01-01' AND paymentDate < '2004-07-01;
How many customers with a canceled shipment have a credit limit greater than 115,000?
cancelled shipment refers to status = 'cancelled'; creditLimit > 115000;
DIVIDE(SUM(amount) where customerName = 'Atelier graphique'), (SUM(amount)) as percentage where year(paymentDate) = 2004;
How many customers with a canceled shipment have a credit limit greater than 115,000?
cancelled shipment refers to status = 'cancelled'; creditLimit > 115000;
reportsTO' is the leader of the 'employeeNumber';
How many customers with a canceled shipment have a credit limit greater than 115,000?
cancelled shipment refers to status = 'cancelled'; creditLimit > 115000;
Australia is a country; creditLimit < 20000;
How many customers with a canceled shipment have a credit limit greater than 115,000?
cancelled shipment refers to status = 'cancelled'; creditLimit > 115000;
paymentdate BETWEEN '2003-01-01' AND '2004-12-31'; customers who have paid more than three times refers to (COUNT(customernumber)>3);
How many customers with a canceled shipment have a credit limit greater than 115,000?
cancelled shipment refers to status = 'cancelled'; creditLimit > 115000;
DIVIDE(COUNT(employeeNumber) when city = 'Paris'), (COUNT(employeeNumber)) as percentage;
How many customers with a canceled shipment have a credit limit greater than 115,000?
cancelled shipment refers to status = 'cancelled'; creditLimit > 115000;
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;
How many customers with a canceled shipment have a credit limit greater than 115,000?
cancelled shipment refers to status = 'cancelled'; creditLimit > 115000;
Cruz & Sons Co. is name of customer; 2003/3/3 refers to orderDate;
How many customers with a canceled shipment have a credit limit greater than 115,000?
cancelled shipment refers to status = 'cancelled'; creditLimit > 115000;
DIVIDE(SUBTRACT(MSRP, priceEach)), MSRP); product No. S18_3482 refers to productCode = 'S18_3482'
How many customers with a canceled shipment have a credit limit greater than 115,000?
cancelled shipment refers to status = 'cancelled'; creditLimit > 115000;
reportsTO' is the leader of the 'employeeNumber';
Please list all the customers that have Steve Patterson as their sales representitive.
Steve Patterson is an employee;
cancelled shipment refers to status = 'cancelled'; creditLimit > 115000;
Please list all the customers that have Steve Patterson as their sales representitive.
Steve Patterson is an employee;
full name = contactFirstName, contactLastName; Boston is a city;
Please list all the customers that have Steve Patterson as their sales representitive.
Steve Patterson is an employee;
President refers to the jobTitle;
Please list all the customers that have Steve Patterson as their sales representitive.
Steve Patterson is an employee;
E-mail address belongs to employee; customerName = 'Dragon Souveniers, Ltd.';
Please list all the customers that have Steve Patterson as their sales representitive.
Steve Patterson is an employee;
Employee 1370 refers to employeeNumber = '1370';
Please list all the customers that have Steve Patterson as their sales representitive.
Steve Patterson is an employee;
Transactions payment lower than 10000 refer to COUNT(amount) < 1000; by year refers to YEAR(paymentDate)
Please list all the customers that have Steve Patterson as their sales representitive.
Steve Patterson is an employee;
shipped orders refers to status = 'shipped'; year(shippedDate) = 2005; percentage = DIVIDE(SUM(customerNumber = 186)), COUNT(orderNumber)) as percentage;
Please list all the customers that have Steve Patterson as their sales representitive.
Steve Patterson is an employee;
orderDate between '2005-01-01' and '2005-12-31'; full address = addressLine1+addressLine2;
Please list all the customers that have Steve Patterson as their sales representitive.
Steve Patterson is an employee;
Sales Manager is a job title; Sydney is a city;
Please list all the customers that have Steve Patterson as their sales representitive.
Steve Patterson is an employee;
DIVIDE(COUNT(employeeNumber) when city = 'Paris'), (COUNT(employeeNumber)) as percentage;
How many countries from the USA have an In Process order status?
country = 'USA'
DIVIDE(COUNT(employeeNumber) when city = 'Paris'), (COUNT(employeeNumber)) as percentage;
How many countries from the USA have an In Process order status?
country = 'USA'
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);
How many countries from the USA have an In Process order status?
country = 'USA'
full address = addressLine1+addressLine2; shippedDate = '2005-04-04';
How many countries from the USA have an In Process order status?
country = 'USA'
inform refers to reportsTo; 'reportsTO' is the leader of the 'employeeNumber'; France is a country; country = 'France';
How many countries from the USA have an In Process order status?
country = 'USA'
plane is a product line; total price = MULTIPLY(quantityOrdered, priceEach); how much the total price exceeds the average = SUBTRACT(MAX(MULTIPLY(quantityOrdered, priceEach))), AVG(priceEach));
How many countries from the USA have an In Process order status?
country = 'USA'
reportsTO' is the leader of the 'employeeNumber';
How many countries from the USA have an In Process order status?
country = 'USA'
The highest unit price refers to MAX(priceEach)
How many countries from the USA have an In Process order status?
country = 'USA'
Transactions payment lower than 10000 refer to COUNT(amount) < 1000; by year refers to YEAR(paymentDate)
How many countries from the USA have an In Process order status?
country = 'USA'
Cruz & Sons Co. is name of customer; 2003/3/3 refers to orderDate;
How many countries from the USA have an In Process order status?
country = 'USA'
DIVIDE(SUM(amount) where customerName = 'Atelier graphique'), (SUM(amount)) as percentage where year(paymentDate) = 2004;
List out full name and email of employees who are working in Paris?
full name = firstName+LastName; Paris is a city;
Euro+ Shopping Channel is a customer name; year(paymentDate) = '2004';
List out full name and email of employees who are working in Paris?
full name = firstName+LastName; Paris is a city;
Gerakd Hermandez is an employee; French customer refers to customer from France where country = 'France'
List out full name and email of employees who are working in Paris?
full name = firstName+LastName; Paris is a city;
1939 'Chevrolet Deluxe Coupe' refers to productName; the highest price refers to MAX(priceEach)
List out full name and email of employees who are working in Paris?
full name = firstName+LastName; Paris is a city;
Most profitable order can be computed as MAX(MULTIPLY(quantityOrdered, SUBTRACT(priceEach, buyPrice)).
List out full name and email of employees who are working in Paris?
full name = firstName+LastName; Paris is a city;
DIVIDE(SUBTRACT(MSRP, priceEach)), MSRP); product No. S18_3482 refers to productCode = 'S18_3482'
List out full name and email of employees who are working in Paris?
full name = firstName+LastName; Paris is a city;
The highest unit price refers to MAX(priceEach)
List out full name and email of employees who are working in Paris?
full name = firstName+LastName; Paris is a city;
orderDate between '2005-01-01' and '2005-12-31'; full address = addressLine1+addressLine2;
List out full name and email of employees who are working in Paris?
full name = firstName+LastName; Paris is a city;
paymentDate BETWEEN '2003-08-01' AND '2004-08-30'; Mini Gifts Distributors Ltd. Is a customer name;
List out full name and email of employees who are working in Paris?
full name = firstName+LastName; Paris is a city;
E-mail address belongs to employee; customerName = 'Dragon Souveniers, Ltd.';
List out full name and email of employees who are working in Paris?
full name = firstName+LastName; Paris is a city;
inform refers to reportsTo; 'reportsTO' is the leader of the 'employeeNumber'; France is a country; country = 'France';
Calculate the average amount of payments made by customers during the first half of 2004.
average amount of payments = DIVIDE(SUM(amount), COUNT(customerNumber); first half of 2014 refers to paymentDate > = '2004-01-01' AND paymentDate < '2004-07-01;
Most profitable order can be computed as MAX(MULTIPLY(quantityOrdered, SUBTRACT(priceEach, buyPrice)).
Calculate the average amount of payments made by customers during the first half of 2004.
average amount of payments = DIVIDE(SUM(amount), COUNT(customerNumber); first half of 2014 refers to paymentDate > = '2004-01-01' AND paymentDate < '2004-07-01;
1939 'Chevrolet Deluxe Coupe' refers to productName; the highest price refers to MAX(priceEach)
Calculate the average amount of payments made by customers during the first half of 2004.
average amount of payments = DIVIDE(SUM(amount), COUNT(customerNumber); first half of 2014 refers to paymentDate > = '2004-01-01' AND paymentDate < '2004-07-01;
The highest unit price refers to MAX(priceEach); when shipped refers to shippedDate;
Calculate the average amount of payments made by customers during the first half of 2004.
average amount of payments = DIVIDE(SUM(amount), COUNT(customerNumber); first half of 2014 refers to paymentDate > = '2004-01-01' AND paymentDate < '2004-07-01;
SUM(MULTIPLY(quantityOrdered, priceEach)
Calculate the average amount of payments made by customers during the first half of 2004.
average amount of payments = DIVIDE(SUM(amount), COUNT(customerNumber); first half of 2014 refers to paymentDate > = '2004-01-01' AND paymentDate < '2004-07-01;
Employee 1370 refers to employeeNumber = '1370';
Calculate the average amount of payments made by customers during the first half of 2004.
average amount of payments = DIVIDE(SUM(amount), COUNT(customerNumber); first half of 2014 refers to paymentDate > = '2004-01-01' AND paymentDate < '2004-07-01;
paymentdate BETWEEN '2003-01-01' AND '2004-12-31'; customers who have paid more than three times refers to (COUNT(customernumber)>3);
Calculate the average amount of payments made by customers during the first half of 2004.
average amount of payments = DIVIDE(SUM(amount), COUNT(customerNumber); first half of 2014 refers to paymentDate > = '2004-01-01' AND paymentDate < '2004-07-01;
Pay in total refers to SUM(amount);
Calculate the average amount of payments made by customers during the first half of 2004.
average amount of payments = DIVIDE(SUM(amount), COUNT(customerNumber); first half of 2014 refers to paymentDate > = '2004-01-01' AND paymentDate < '2004-07-01;
Transactions payment lower than 10000 refer to COUNT(amount) < 1000; by year refers to YEAR(paymentDate)
Calculate the average amount of payments made by customers during the first half of 2004.
average amount of payments = DIVIDE(SUM(amount), COUNT(customerNumber); first half of 2014 refers to paymentDate > = '2004-01-01' AND paymentDate < '2004-07-01;
President refers to the jobTitle;
Calculate the average amount of payments made by customers during the first half of 2004.
average amount of payments = DIVIDE(SUM(amount), COUNT(customerNumber); first half of 2014 refers to paymentDate > = '2004-01-01' AND paymentDate < '2004-07-01;
full name = firstName+LastName; Paris is a city;
To whom does the employee have to inform that is the sales representative of the French customer?
inform refers to reportsTo; 'reportsTO' is the leader of the 'employeeNumber'; France is a country; country = 'France';
Pay in total refers to SUM(amount);
To whom does the employee have to inform that is the sales representative of the French customer?
inform refers to reportsTo; 'reportsTO' is the leader of the 'employeeNumber'; France is a country; country = 'France';
Most profitable order can be computed as MAX(MULTIPLY(quantityOrdered, SUBTRACT(priceEach, buyPrice)).
To whom does the employee have to inform that is the sales representative of the French customer?
inform refers to reportsTo; 'reportsTO' is the leader of the 'employeeNumber'; France is a country; country = 'France';
payment refers to amount; full name = firstName+lastName; supervisor refers to reportsTO; 'reportsTO' is the leader of the 'employeeNumber';
To whom does the employee have to inform that is the sales representative of the French customer?
inform refers to reportsTo; 'reportsTO' is the leader of the 'employeeNumber'; France is a country; country = 'France';
President refers to the jobTitle;
To whom does the employee have to inform that is the sales representative of the French customer?
inform refers to reportsTo; 'reportsTO' is the leader of the 'employeeNumber'; France is a country; country = 'France';
country = 'USA'
To whom does the employee have to inform that is the sales representative of the French customer?
inform refers to reportsTo; 'reportsTO' is the leader of the 'employeeNumber'; France is a country; country = 'France';
reportsTO' is the leader of the 'employeeNumber';
To whom does the employee have to inform that is the sales representative of the French customer?
inform refers to reportsTo; 'reportsTO' is the leader of the 'employeeNumber'; France is a country; country = 'France';
Cruz & Sons Co. is name of customer; 2003/3/3 refers to orderDate;
To whom does the employee have to inform that is the sales representative of the French customer?
inform refers to reportsTo; 'reportsTO' is the leader of the 'employeeNumber'; France is a country; country = 'France';
paymentDate BETWEEN '2003-08-01' AND '2004-08-30'; Mini Gifts Distributors Ltd. Is a customer name;
To whom does the employee have to inform that is the sales representative of the French customer?
inform refers to reportsTo; 'reportsTO' is the leader of the 'employeeNumber'; France is a country; country = 'France';
paymentdate BETWEEN '2003-01-01' AND '2004-12-31'; customers who have paid more than three times refers to (COUNT(customernumber)>3);
To whom does the employee have to inform that is the sales representative of the French customer?
inform refers to reportsTo; 'reportsTO' is the leader of the 'employeeNumber'; France is a country; country = 'France';
Muscle Machine Inc is name of customer; superior refers to 'reportsTO', who is the leader of the 'employeeNumber'
Where was the order No. 10383 shipped to? Show me the address.
Address comprises addressLine1 and addressLine2;
average amount payment = AVG(amount);
Where was the order No. 10383 shipped to? Show me the address.
Address comprises addressLine1 and addressLine2;
Muscle Machine Inc is name of customer; superior refers to 'reportsTO', who is the leader of the 'employeeNumber'
Where was the order No. 10383 shipped to? Show me the address.
Address comprises addressLine1 and addressLine2;
last name of contact person starts with M refers to lastName LIKE 'M%'; Germany is a country; not from Germany refers to country<>'Germany';
Where was the order No. 10383 shipped to? Show me the address.
Address comprises addressLine1 and addressLine2;
code of employee refers to employeeNumber; United States of America refers to country = 'USA';
Where was the order No. 10383 shipped to? Show me the address.
Address comprises addressLine1 and addressLine2;
country = 'USA'
Where was the order No. 10383 shipped to? Show me the address.
Address comprises addressLine1 and addressLine2;
DIVIDE(COUNT(employeeNumber) when city = 'Paris'), (COUNT(employeeNumber)) as percentage;
Where was the order No. 10383 shipped to? Show me the address.
Address comprises addressLine1 and addressLine2;
DIVIDE(SUBTRACT(MSRP, priceEach)), MSRP); product No. S18_3482 refers to productCode = 'S18_3482'
Where was the order No. 10383 shipped to? Show me the address.
Address comprises addressLine1 and addressLine2;
orderDate between '2005-01-01' and '2005-12-31'; full address = addressLine1+addressLine2;
Where was the order No. 10383 shipped to? Show me the address.
Address comprises addressLine1 and addressLine2;
1939 'Chevrolet Deluxe Coupe' refers to productName; the highest price refers to MAX(priceEach)
Where was the order No. 10383 shipped to? Show me the address.
Address comprises addressLine1 and addressLine2;
Sales representative refers to jobTitle = 'Sales Rep'; country = 'USA';