query
stringlengths 24
325
| positive
stringlengths 1
580
| negative
stringlengths 1
580
|
---|---|---|
What goods were sold to customers in accordance with sales order number 43660?
|
goods refers to products
|
last receipt date is August 17, 2011 refers to LastReceiptDate> = '2011-08-17 00:00:00' and LastReceiptDate < '2011-08-18 00:00:00';
|
What goods were sold to customers in accordance with sales order number 43660?
|
goods refers to products
|
female refers to Gender = 'F'; employee who wish to receive email promotion refers to EmailPromotion = 1; percentage = DIVIDE(SUM(Gender = 'F')), (sum(Gender = 'F' or Gender = 'M'))) as percentage;
|
What goods were sold to customers in accordance with sales order number 43660?
|
goods refers to products
|
high class refers to Class = 'H'; men's product refers to Style = 'M'
|
What goods were sold to customers in accordance with sales order number 43660?
|
goods refers to products
|
over 3 price changes refers to count(ListPrice)>3
|
What goods were sold to customers in accordance with sales order number 43660?
|
goods refers to products
|
SP is an abbreviation for Sales Person; PersonType = 'SP';
|
What goods were sold to customers in accordance with sales order number 43660?
|
goods refers to products
|
Mauritius Rupee is name of currency
|
How much is the tax amount of the purchase order with the biggest tax amount? Indicate the purchase order ID.
|
tax amount refers to TaxAmt; biggest tax amount refers to MAX(TaxAmt);
|
highest rating refers to Rating = 5; high class refers to Class = 'H'; men's product refers to Style = 'M'
|
How much is the tax amount of the purchase order with the biggest tax amount? Indicate the purchase order ID.
|
tax amount refers to TaxAmt; biggest tax amount refers to MAX(TaxAmt);
|
Profit = SUBTRACT(ListPrice, StandardCost); the highest rating in review refers to Rating = 5
|
How much is the tax amount of the purchase order with the biggest tax amount? Indicate the purchase order ID.
|
tax amount refers to TaxAmt; biggest tax amount refers to MAX(TaxAmt);
|
CurrentFlag = 1 refers to the active status of employees; Percentage = Divide (Count (BusinessEntityID (CurrentFlag = 1 & VacationHours >20 & SickLeaveHours > 10)), Count (BusinessEntityID (CurrentFlag = 1 & SickLeaveHours>10))) * 100;
|
How much is the tax amount of the purchase order with the biggest tax amount? Indicate the purchase order ID.
|
tax amount refers to TaxAmt; biggest tax amount refers to MAX(TaxAmt);
|
If Name = "+" in the value from SalesTaxRate, it means this sales are charged by multiple types of tax; Quebec refers to the name of State Province
|
How much is the tax amount of the purchase order with the biggest tax amount? Indicate the purchase order ID.
|
tax amount refers to TaxAmt; biggest tax amount refers to MAX(TaxAmt);
|
ModifiedDate between'2014-09-12 00:00:00' and '2014-09-12 23:59:59';
|
How much is the tax amount of the purchase order with the biggest tax amount? Indicate the purchase order ID.
|
tax amount refers to TaxAmt; biggest tax amount refers to MAX(TaxAmt);
|
Sales people refer to PersonType = 'SP'; projected yearly sales refers to SalesQuota
|
How much is the tax amount of the purchase order with the biggest tax amount? Indicate the purchase order ID.
|
tax amount refers to TaxAmt; biggest tax amount refers to MAX(TaxAmt);
|
more than 10 sick leave hours refers to SickLeaveHours>10; pay rate over 35 refers to Rate>35;
|
How much is the tax amount of the purchase order with the biggest tax amount? Indicate the purchase order ID.
|
tax amount refers to TaxAmt; biggest tax amount refers to MAX(TaxAmt);
|
average pay rate = AVG(Rate); work in 2007 refers to year(StartDate)<2007 AND year(EndDate)>2007;
|
How much is the tax amount of the purchase order with the biggest tax amount? Indicate the purchase order ID.
|
tax amount refers to TaxAmt; biggest tax amount refers to MAX(TaxAmt);
|
sales order for 32 units refers to OrderQty = 32
|
How much is the tax amount of the purchase order with the biggest tax amount? Indicate the purchase order ID.
|
tax amount refers to TaxAmt; biggest tax amount refers to MAX(TaxAmt);
|
High quality refers to the product's quality class, therefore Class = 'H'; the lowest transacted quantity refers to Quantity = 1
|
How many salespersons haven't met quota?
|
salesperson that haven't met the quota refers to Bonus = 0;
|
their home address as their address refers to AddressTypeID = 2; address corresponds to the shipping address refers to AddressTypeID = 5
|
How many salespersons haven't met quota?
|
salesperson that haven't met the quota refers to Bonus = 0;
|
store contact refers to PersonType = 'SC'; year(EndDate)>2007 and year(StartDate)<2007;
|
How many salespersons haven't met quota?
|
salesperson that haven't met the quota refers to Bonus = 0;
|
poor credit rating means bad credit; CreditRating = 5; Business number refers to BusinessEntityID
|
How many salespersons haven't met quota?
|
salesperson that haven't met the quota refers to Bonus = 0;
|
Order Reference Number refers to ReferenceOrderID
|
How many salespersons haven't met quota?
|
salesperson that haven't met the quota refers to Bonus = 0;
|
Accountant is a job title; first hired = MIN(HireDate)
|
How many salespersons haven't met quota?
|
salesperson that haven't met the quota refers to Bonus = 0;
|
projected yearly sales quota refers to SalesQuota; projected yearly sales quota in 2013 refers to year(QuotaDate) = 2013; percentage = (MULTIPLY(DIVIDE(SUM(Bonus)), (SUM(SalesQuota))) as percentage;
|
How many salespersons haven't met quota?
|
salesperson that haven't met the quota refers to Bonus = 0;
|
weight in pounds refers to WeightUnitMeasureCode = 'LB';
|
How many salespersons haven't met quota?
|
salesperson that haven't met the quota refers to Bonus = 0;
|
highest amount of difference between the ordered quantity and actual quantity received in a single purchase order refers to MAX(SUBTRACT(OrderQty, ReceivedQty));
|
How many salespersons haven't met quota?
|
salesperson that haven't met the quota refers to Bonus = 0;
|
product number = productID
|
How many salespersons haven't met quota?
|
salesperson that haven't met the quota refers to Bonus = 0;
|
profit = SUBTRACT(ListPrice, StandardCost);
|
List down the email address of female single employees.
|
female refers to Gender = 'F'; single refers to MaritalStatus = 'S';
|
production technician is a job title; below average rate refers to Rate<AVG(Rate);
|
List down the email address of female single employees.
|
female refers to Gender = 'F'; single refers to MaritalStatus = 'S';
|
business id refers to BusinessEntityID;
|
List down the email address of female single employees.
|
female refers to Gender = 'F'; single refers to MaritalStatus = 'S';
|
Product with the lowest rating refers to the rating
given by the
reviewer where Rating = 1
|
List down the email address of female single employees.
|
female refers to Gender = 'F'; single refers to MaritalStatus = 'S';
|
take more than 2 days to make refers to DaysToManufacture>2; out of stock refers to OnOrderQty = 0 or OnOrderQty is null
|
List down the email address of female single employees.
|
female refers to Gender = 'F'; single refers to MaritalStatus = 'S';
|
mountain product line refers to ProductLine = 'M'; sold by over 5 vendors refers to count(Name)>5
|
List down the email address of female single employees.
|
female refers to Gender = 'F'; single refers to MaritalStatus = 'S';
|
year of credit card expiration refers to ExpYear; ExpYear = 2007; store contact refers to PersonType = 'SC';
|
List down the email address of female single employees.
|
female refers to Gender = 'F'; single refers to MaritalStatus = 'S';
|
Highest year to date sales refers to Max(SalesYTD);
|
List down the email address of female single employees.
|
female refers to Gender = 'F'; single refers to MaritalStatus = 'S';
|
Quantity more than 10,000 pieces refers to Quantity>10000; selling price refers to ListPrice
|
List down the email address of female single employees.
|
female refers to Gender = 'F'; single refers to MaritalStatus = 'S';
|
Catgo Transport 5 is a name of shipping method; OrderDate = '2011-12-14'; total shipment cost = SUM(Freight);
|
List down the email address of female single employees.
|
female refers to Gender = 'F'; single refers to MaritalStatus = 'S';
|
projected sales quota refers to SalesQuota; projected sales quota in 2013 refers to year(QuotaDate) = 2013;
|
List all the non-sales employees in ascending order of its business entitty ID.
|
non-sales employee refers to PersonType = 'EM'
|
amount to be paid refers to TotalDue;
|
List all the non-sales employees in ascending order of its business entitty ID.
|
non-sales employee refers to PersonType = 'EM'
|
employees refers to BusinessEntityID; most unused sick leave refers to MAX(SickLeaveHours); position title refers to JobTitle
|
List all the non-sales employees in ascending order of its business entitty ID.
|
non-sales employee refers to PersonType = 'EM'
|
Salespeople refers to PersonType = 'SP'
|
List all the non-sales employees in ascending order of its business entitty ID.
|
non-sales employee refers to PersonType = 'EM'
|
Business along with their numbers refers to the BusinessEntityID; located in Duvall refers to City = 'Duvall'
|
List all the non-sales employees in ascending order of its business entitty ID.
|
non-sales employee refers to PersonType = 'EM'
|
quantities not greater than 3 refers to OrderQty<3; discount of 0.2 refers to UnitPriceDiscount = 0.2; percentage = DIVIDE(count(SalesOrderID(OrderQty<3 & UnitPriceDiscount = 0.2)), count(SalesOrderID))*100%
|
List all the non-sales employees in ascending order of its business entitty ID.
|
non-sales employee refers to PersonType = 'EM'
|
employees that submitted resume to Human Resource Department and got hired refers to BusinessEntittyID NOT null;
|
List all the non-sales employees in ascending order of its business entitty ID.
|
non-sales employee refers to PersonType = 'EM'
|
product is mnanufactured in-house refers to MakeFlag = 1; salable product refers to FinishedGoodsFlag = 1;
|
List all the non-sales employees in ascending order of its business entitty ID.
|
non-sales employee refers to PersonType = 'EM'
|
Doesn't have a State Province Code refers to IsOnlyStateProvinceFlag = 1 where StateProvinceCode is unavailable
|
List all the non-sales employees in ascending order of its business entitty ID.
|
non-sales employee refers to PersonType = 'EM'
|
net profit = Subtract(LastReceiptCost, StandardPrice);
|
List all the non-sales employees in ascending order of its business entitty ID.
|
non-sales employee refers to PersonType = 'EM'
|
product that are purchased refers to MakeFlag = 0; never received highest rating refers to Rating! = 5
|
What is the price for the AWC Logo Cap?
|
price refers to ListPrice; price of 3 products = MULTIPLY(ListPrice, 3); Lock Washer 6 is a name of a product;
|
not recommended refers to PreferredVendorStatus = 0;
|
What is the price for the AWC Logo Cap?
|
price refers to ListPrice; price of 3 products = MULTIPLY(ListPrice, 3); Lock Washer 6 is a name of a product;
|
current payrate refers to max(Rate); percentage increment = divide(subtract(max(Rate), min(Rate)), min(Rate))*100%
|
What is the price for the AWC Logo Cap?
|
price refers to ListPrice; price of 3 products = MULTIPLY(ListPrice, 3); Lock Washer 6 is a name of a product;
|
Saved in English refers to product description written in English where Culture.name = 'English'
|
What is the price for the AWC Logo Cap?
|
price refers to ListPrice; price of 3 products = MULTIPLY(ListPrice, 3); Lock Washer 6 is a name of a product;
|
married refers to MaritalStatus = M; highest pay frequency refers to PayFrequency = 2
|
What is the price for the AWC Logo Cap?
|
price refers to ListPrice; price of 3 products = MULTIPLY(ListPrice, 3); Lock Washer 6 is a name of a product;
|
Document Control Assistant refers to the JobTitle = 'Document Control Assistant'; born on 1975/12/25 refers to BirthDate = '1975-12-25'; private documents indicate that DocumentSummary is null
|
What is the price for the AWC Logo Cap?
|
price refers to ListPrice; price of 3 products = MULTIPLY(ListPrice, 3); Lock Washer 6 is a name of a product;
|
288th sales person refers to BusinessEntityID = 288; predited annual sales refers to SalesQuota; actual sales refers to SalesYTD; difference = Substract(SalesQuota(BusinessEntityID(288))), (SalesYTD(BusinessEntityID(288)));
|
What is the price for the AWC Logo Cap?
|
price refers to ListPrice; price of 3 products = MULTIPLY(ListPrice, 3); Lock Washer 6 is a name of a product;
|
store contact refers to PersonType = 'SC';
|
What is the price for the AWC Logo Cap?
|
price refers to ListPrice; price of 3 products = MULTIPLY(ListPrice, 3); Lock Washer 6 is a name of a product;
|
card that expires in 2007 refers to ExpYear = 2007;
|
What is the price for the AWC Logo Cap?
|
price refers to ListPrice; price of 3 products = MULTIPLY(ListPrice, 3); Lock Washer 6 is a name of a product;
|
hired in 2009 refers to year(HireDate) = 2009
|
What is the price for the AWC Logo Cap?
|
price refers to ListPrice; price of 3 products = MULTIPLY(ListPrice, 3); Lock Washer 6 is a name of a product;
|
average selling price = divide(sum(StandardPrice), count(BusinessEntityID))
|
How many employees working in the Engineering Department in 2007 would have their credit cards expired in the same year?
|
year(StartDate) 2007; year of credit card expiration refers to ExpYear; ExpYear = 2007;
|
Highest year to date sales refers to Max(SalesYTD);
|
How many employees working in the Engineering Department in 2007 would have their credit cards expired in the same year?
|
year(StartDate) 2007; year of credit card expiration refers to ExpYear; ExpYear = 2007;
|
Transactiontype = 'w' means 'WorkOrder'; transactiontype = 's' means 'SalesOrder'; transactiontype = 'P' means 'PurchaseOrder'; happened in refers to TransactionDate
|
How many employees working in the Engineering Department in 2007 would have their credit cards expired in the same year?
|
year(StartDate) 2007; year of credit card expiration refers to ExpYear; ExpYear = 2007;
|
order refers to SalesOrderID
|
How many employees working in the Engineering Department in 2007 would have their credit cards expired in the same year?
|
year(StartDate) 2007; year of credit card expiration refers to ExpYear; ExpYear = 2007;
|
weight in pounds refers to WeightUnitMeasureCode = 'LB';
|
How many employees working in the Engineering Department in 2007 would have their credit cards expired in the same year?
|
year(StartDate) 2007; year of credit card expiration refers to ExpYear; ExpYear = 2007;
|
days to end a work order = SUBTRACT(ActualEndDate, ActualStartDate);
|
How many employees working in the Engineering Department in 2007 would have their credit cards expired in the same year?
|
year(StartDate) 2007; year of credit card expiration refers to ExpYear; ExpYear = 2007;
|
Night shift refers to Name = 'Night';
|
How many employees working in the Engineering Department in 2007 would have their credit cards expired in the same year?
|
year(StartDate) 2007; year of credit card expiration refers to ExpYear; ExpYear = 2007;
|
mountain product line refers to ProductLine = 'M'; sold by over 5 vendors refers to count(Name)>5
|
How many employees working in the Engineering Department in 2007 would have their credit cards expired in the same year?
|
year(StartDate) 2007; year of credit card expiration refers to ExpYear; ExpYear = 2007;
|
Employees who do not wish to receive any e-mail promotions are marked as EmailPromotion = 0
|
How many employees working in the Engineering Department in 2007 would have their credit cards expired in the same year?
|
year(StartDate) 2007; year of credit card expiration refers to ExpYear; ExpYear = 2007;
|
vendor's selling price refers to StandardPrice
|
How many employees working in the Engineering Department in 2007 would have their credit cards expired in the same year?
|
year(StartDate) 2007; year of credit card expiration refers to ExpYear; ExpYear = 2007;
|
resellers refers to Category = 'Reseller';
|
What is the sales revenue for item number 740?
|
business number 1580 refers to BusinessEntityID = 1580; Net profit = SUBTRACT(LastReceiptCost,StandardPrice)
|
number of products refers to OrderQty
|
What is the sales revenue for item number 740?
|
business number 1580 refers to BusinessEntityID = 1580; Net profit = SUBTRACT(LastReceiptCost,StandardPrice)
|
LL Road Frame Sale is a description of special offer
|
What is the sales revenue for item number 740?
|
business number 1580 refers to BusinessEntityID = 1580; Net profit = SUBTRACT(LastReceiptCost,StandardPrice)
|
AVG(Rating) = DIVIDE(SUM(rating), COUNT(ReviewerName))
|
What is the sales revenue for item number 740?
|
business number 1580 refers to BusinessEntityID = 1580; Net profit = SUBTRACT(LastReceiptCost,StandardPrice)
|
shelves refer to shelf; down tube is a product
|
What is the sales revenue for item number 740?
|
business number 1580 refers to BusinessEntityID = 1580; Net profit = SUBTRACT(LastReceiptCost,StandardPrice)
|
product is manufactured in-house refers to MakeFlag = 1; salable product refers to FinishedGoodsFlag = 1;
|
What is the sales revenue for item number 740?
|
business number 1580 refers to BusinessEntityID = 1580; Net profit = SUBTRACT(LastReceiptCost,StandardPrice)
|
female refers to Gender = 'F'; single refers to MaritalStatus = 'S';
|
What is the sales revenue for item number 740?
|
business number 1580 refers to BusinessEntityID = 1580; Net profit = SUBTRACT(LastReceiptCost,StandardPrice)
|
Transactiontype = 'w' means 'WorkOrder'; transactiontype = 's' means 'SalesOrder'; transactiontype = 'P' means 'PurchaseOrder'; happened in refers to TransactionDate
|
What is the sales revenue for item number 740?
|
business number 1580 refers to BusinessEntityID = 1580; Net profit = SUBTRACT(LastReceiptCost,StandardPrice)
|
highest rating refers to MAX(Rating)
|
What is the sales revenue for item number 740?
|
business number 1580 refers to BusinessEntityID = 1580; Net profit = SUBTRACT(LastReceiptCost,StandardPrice)
|
product with large photo refers to LargePhoto NOT null;
|
What is the sales revenue for item number 740?
|
business number 1580 refers to BusinessEntityID = 1580; Net profit = SUBTRACT(LastReceiptCost,StandardPrice)
|
France territory refers to SalesTerritory.Name = 'France';
|
Please list the e-mails of the reviewers who have reviewed high class.
|
high class refers to Class = 'H'; men's product refers to Style = 'M'
|
employee number 257 refers to EmployeeID = 257; pending shipment status refers to Status = 3
|
Please list the e-mails of the reviewers who have reviewed high class.
|
high class refers to Class = 'H'; men's product refers to Style = 'M'
|
Do not have any work order ID means WorkOrderID is null
|
Please list the e-mails of the reviewers who have reviewed high class.
|
high class refers to Class = 'H'; men's product refers to Style = 'M'
|
product that are purchased refers to MakeFlag = 0; never received highest rating refers to Rating! = 5
|
Please list the e-mails of the reviewers who have reviewed high class.
|
high class refers to Class = 'H'; men's product refers to Style = 'M'
|
miinimum order quantity refers to MinOrderQty = 100
|
Please list the e-mails of the reviewers who have reviewed high class.
|
high class refers to Class = 'H'; men's product refers to Style = 'M'
|
Canada is name of sales territory
|
Please list the e-mails of the reviewers who have reviewed high class.
|
high class refers to Class = 'H'; men's product refers to Style = 'M'
|
shelves refer to shelf; down tube is a product
|
Please list the e-mails of the reviewers who have reviewed high class.
|
high class refers to Class = 'H'; men's product refers to Style = 'M'
|
Transactiontype = 'w' means 'WorkOrder'; transactiontype = 's' means 'SalesOrder'; transactiontype = 'P' means 'PurchaseOrder'; happened in refers to TransactionDate
|
Please list the e-mails of the reviewers who have reviewed high class.
|
high class refers to Class = 'H'; men's product refers to Style = 'M'
|
home manufactured refers to MakeFlag = 1; average rating = divide(sum(Rating), count(ProductReview))
|
Please list the e-mails of the reviewers who have reviewed high class.
|
high class refers to Class = 'H'; men's product refers to Style = 'M'
|
weight in pounds refers to WeightUnitMeasureCode = 'LB';
|
Please list the e-mails of the reviewers who have reviewed high class.
|
high class refers to Class = 'H'; men's product refers to Style = 'M'
|
highest pay rate refers to MAX(Rate);
|
What is the total shipment by "cargo transport 5" cost of all purchase orders created on 12/14/2011?
|
Catgo Transport 5 is a name of shipping method; OrderDate = '2011-12-14'; total shipment cost = SUM(Freight);
|
Next-Door Bike Store is name of a store
|
What is the total shipment by "cargo transport 5" cost of all purchase orders created on 12/14/2011?
|
Catgo Transport 5 is a name of shipping method; OrderDate = '2011-12-14'; total shipment cost = SUM(Freight);
|
customers' name refers to ReviewerName; best possible ratings means the highest rating = 5
|
What is the total shipment by "cargo transport 5" cost of all purchase orders created on 12/14/2011?
|
Catgo Transport 5 is a name of shipping method; OrderDate = '2011-12-14'; total shipment cost = SUM(Freight);
|
AVG(Rating) = DIVIDE(SUM(rating), COUNT(ReviewerName))
|
What is the total shipment by "cargo transport 5" cost of all purchase orders created on 12/14/2011?
|
Catgo Transport 5 is a name of shipping method; OrderDate = '2011-12-14'; total shipment cost = SUM(Freight);
|
work order transaction refers to TransactionType = 'W';
|
What is the total shipment by "cargo transport 5" cost of all purchase orders created on 12/14/2011?
|
Catgo Transport 5 is a name of shipping method; OrderDate = '2011-12-14'; total shipment cost = SUM(Freight);
|
Order Reference Number refers to ReferenceOrderID
|
What is the total shipment by "cargo transport 5" cost of all purchase orders created on 12/14/2011?
|
Catgo Transport 5 is a name of shipping method; OrderDate = '2011-12-14'; total shipment cost = SUM(Freight);
|
production technician is a job title; below average rate refers to Rate<AVG(Rate);
|
What is the total shipment by "cargo transport 5" cost of all purchase orders created on 12/14/2011?
|
Catgo Transport 5 is a name of shipping method; OrderDate = '2011-12-14'; total shipment cost = SUM(Freight);
|
poor credit rating means bad credit; CreditRating = 5; Business number refers to BusinessEntityID
|
What is the total shipment by "cargo transport 5" cost of all purchase orders created on 12/14/2011?
|
Catgo Transport 5 is a name of shipping method; OrderDate = '2011-12-14'; total shipment cost = SUM(Freight);
|
average selling price = divide(sum(StandardPrice), count(BusinessEntityID))
|
What is the total shipment by "cargo transport 5" cost of all purchase orders created on 12/14/2011?
|
Catgo Transport 5 is a name of shipping method; OrderDate = '2011-12-14'; total shipment cost = SUM(Freight);
|
Stocked quantity refers to StockedQty
|
What is the total shipment by "cargo transport 5" cost of all purchase orders created on 12/14/2011?
|
Catgo Transport 5 is a name of shipping method; OrderDate = '2011-12-14'; total shipment cost = SUM(Freight);
|
Catherine Ward refers to the name of BusinessEntityID; how many letters in password for the e-mail account refers to LENGTH(PasswordHash)
|
Among the active employees, how many of them have a courtesy title of "Mr"?
|
active status of employees refers to CurrentFlag = 1;
|
business id refers to BusinessEntityID;
|
Among the active employees, how many of them have a courtesy title of "Mr"?
|
active status of employees refers to CurrentFlag = 1;
|
Employees who don't wish to receive e-mail promotions refers to EmailPromotion = 0;
|
Among the active employees, how many of them have a courtesy title of "Mr"?
|
active status of employees refers to CurrentFlag = 1;
|
located in the Subassembly category refers to Name = 'Subassembly'
|
Among the active employees, how many of them have a courtesy title of "Mr"?
|
active status of employees refers to CurrentFlag = 1;
|
over 3 price changes refers to count(ListPrice)>3
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.