query
stringlengths
24
325
positive
stringlengths
1
580
negative
stringlengths
1
580
Please list the products that are under the Clothing category that are manufactured in-house and salable.
product is manufactured in-house refers to MakeFlag = 1; salable product refers to FinishedGoodsFlag = 1;
Down Tube is a name of a product;
Please list the products that are under the Clothing category that are manufactured in-house and salable.
product is manufactured in-house refers to MakeFlag = 1; salable product refers to FinishedGoodsFlag = 1;
Pre assembly quantity refers to PerAssemblyQty
Please list the products that are under the Clothing category that are manufactured in-house and salable.
product is manufactured in-house refers to MakeFlag = 1; salable product refers to FinishedGoodsFlag = 1;
person number 18 refers to BusinessEntityID = 18; forename refers to FirstName
Please list the products that are under the Clothing category that are manufactured in-house and salable.
product is manufactured in-house refers to MakeFlag = 1; salable product refers to FinishedGoodsFlag = 1;
Job position and job title are synonyms; job position that was hired the most refers to MAX(COUNT(JobTitle); HireDate BETWEEN '2007-1-1' AND '2007-12-31';
Please list the products that are under the Clothing category that are manufactured in-house and salable.
product is manufactured in-house refers to MakeFlag = 1; salable product refers to FinishedGoodsFlag = 1;
price refers to ListPrice; price of 3 products = MULTIPLY(ListPrice, 3); Lock Washer 6 is a name of a product;
Please list the products that are under the Clothing category that are manufactured in-house and salable.
product is manufactured in-house refers to MakeFlag = 1; salable product refers to FinishedGoodsFlag = 1;
percentage = DIVIDE(Culture.Name = 'Thai', count(ALL Culture.Name))*100%
Where are the shelves where the down tube product was stored?
shelves refer to shelf; down tube is a product
Minipump is name of a product
Where are the shelves where the down tube product was stored?
shelves refer to shelf; down tube is a product
began work in 2009 or later refers to StartDate> = 2009;
Where are the shelves where the down tube product was stored?
shelves refer to shelf; down tube is a product
The Road line refers to the product line, therefore ProductLine = 'R'
Where are the shelves where the down tube product was stored?
shelves refer to shelf; down tube is a product
Do not have any work order ID means WorkOrderID is null
Where are the shelves where the down tube product was stored?
shelves refer to shelf; down tube is a product
Night shift refers to Name = 'Night';
Where are the shelves where the down tube product was stored?
shelves refer to shelf; down tube is a product
work order refers to TransactionType = 'W'; Quantity BETWEEN 100 AND 250; ReorderPoint< = 375;
Where are the shelves where the down tube product was stored?
shelves refer to shelf; down tube is a product
average age = AVG(subtract(year(now), year(HireDate)))
Where are the shelves where the down tube product was stored?
shelves refer to shelf; down tube is a product
last receipt date is August 17, 2011 refers to LastReceiptDate> = '2011-08-17 00:00:00' and LastReceiptDate < '2011-08-18 00:00:00';
Where are the shelves where the down tube product was stored?
shelves refer to shelf; down tube is a product
shipment by truck refers to Name = 'XRQ - TRUCK GROUND';
Where are the shelves where the down tube product was stored?
shelves refer to shelf; down tube is a product
StartDate BETWEEN '2009-01-01' AND '2009-12-31';
What is the highest amount of difference between the ordered quantity and actual quantity received in a single purchase order and to which vendor was the purchase order made?
highest amount of difference between the ordered quantity and actual quantity received in a single purchase order refers to MAX(SUBTRACT(OrderQty, ReceivedQty));
High quality refers to the product's quality class, therefore Class = 'H'
What is the highest amount of difference between the ordered quantity and actual quantity received in a single purchase order and to which vendor was the purchase order made?
highest amount of difference between the ordered quantity and actual quantity received in a single purchase order refers to MAX(SUBTRACT(OrderQty, ReceivedQty));
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;
What is the highest amount of difference between the ordered quantity and actual quantity received in a single purchase order and to which vendor was the purchase order made?
highest amount of difference between the ordered quantity and actual quantity received in a single purchase order refers to MAX(SUBTRACT(OrderQty, ReceivedQty));
year(EndDate)>2009 and year(StartDate)<2009;
What is the highest amount of difference between the ordered quantity and actual quantity received in a single purchase order and to which vendor was the purchase order made?
highest amount of difference between the ordered quantity and actual quantity received in a single purchase order refers to MAX(SUBTRACT(OrderQty, ReceivedQty));
France territory refers to SalesTerritory.Name = 'France';
What is the highest amount of difference between the ordered quantity and actual quantity received in a single purchase order and to which vendor was the purchase order made?
highest amount of difference between the ordered quantity and actual quantity received in a single purchase order refers to MAX(SUBTRACT(OrderQty, ReceivedQty));
business number refers to BusinessEntityID where BusinessEntityID = 1496; how long does it take refers to AverageLeadTime
What is the highest amount of difference between the ordered quantity and actual quantity received in a single purchase order and to which vendor was the purchase order made?
highest amount of difference between the ordered quantity and actual quantity received in a single purchase order refers to MAX(SUBTRACT(OrderQty, ReceivedQty));
highest rating refers to MAX(Rating)
What is the highest amount of difference between the ordered quantity and actual quantity received in a single purchase order and to which vendor was the purchase order made?
highest amount of difference between the ordered quantity and actual quantity received in a single purchase order refers to MAX(SUBTRACT(OrderQty, ReceivedQty));
married refers to MaritalStatus = 'M'; western name style refers to NameStyle = 0; store contact refers to PersonType = 'SC'; probability = Divide (Count (BusinessEntityID( PersonType = 'SC' & MaritalStatus = 'M')), Count (BusinessEntityID ( PersonType) & MariatlStatus = 'M'))
What is the highest amount of difference between the ordered quantity and actual quantity received in a single purchase order and to which vendor was the purchase order made?
highest amount of difference between the ordered quantity and actual quantity received in a single purchase order refers to MAX(SUBTRACT(OrderQty, ReceivedQty));
hashed password refers to PasswordHash;
What is the highest amount of difference between the ordered quantity and actual quantity received in a single purchase order and to which vendor was the purchase order made?
highest amount of difference between the ordered quantity and actual quantity received in a single purchase order refers to MAX(SUBTRACT(OrderQty, ReceivedQty));
Next-Door Bike Store is name of a store
What is the highest amount of difference between the ordered quantity and actual quantity received in a single purchase order and to which vendor was the purchase order made?
highest amount of difference between the ordered quantity and actual quantity received in a single purchase order refers to MAX(SUBTRACT(OrderQty, ReceivedQty));
fewest online orders refer to MIN(Quantity);
Please list the reviewers who have given the highest rating for a medium class, women's product.
highest rating refers to Rating = 5; high class refers to Class = 'H'; men's product refers to Style = 'M'
work order refers to TransactionType = 'W'; Quantity BETWEEN 100 AND 250; ReorderPoint< = 375;
Please list the reviewers who have given the highest rating for a medium class, women's product.
highest rating refers to Rating = 5; high class refers to Class = 'H'; men's product refers to Style = 'M'
cost refers to StandardCost;
Please list the reviewers who have given the highest rating for a medium class, women's product.
highest rating refers to Rating = 5; high class refers to Class = 'H'; men's product refers to Style = 'M'
Average = Divide(Sum(Substract(year(@today),year(BirthDate))),Count(BusinessEntityID) by each Department ID; youngest employee refers to Min(BirthDate);
Please list the reviewers who have given the highest rating for a medium class, women's product.
highest rating refers to Rating = 5; high class refers to Class = 'H'; men's product refers to Style = 'M'
handling damage is descrription of manufacturing failure which refers to ScrapReason.Name
Please list the reviewers who have given the highest rating for a medium class, women's product.
highest rating refers to Rating = 5; high class refers to Class = 'H'; men's product refers to Style = 'M'
profit on net = SUBTRACT(LastReceiptCost, StandardPrice);
Please list the reviewers who have given the highest rating for a medium class, women's product.
highest rating refers to Rating = 5; high class refers to Class = 'H'; men's product refers to Style = 'M'
take more than 2 days to make refers to DaysToManufacture>2; out of stock refers to OnOrderQty = 0 or OnOrderQty is null
Please list the reviewers who have given the highest rating for a medium class, women's product.
highest rating refers to Rating = 5; high class refers to Class = 'H'; men's product refers to Style = 'M'
Complete sales task refers to meeting sales quota; if Bonus = 0, it means this salesperson doesn't meet quota and vice versa
Please list the reviewers who have given the highest rating for a medium class, women's product.
highest rating refers to Rating = 5; high class refers to Class = 'H'; men's product refers to Style = 'M'
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
Please list the reviewers who have given the highest rating for a medium class, women's product.
highest rating refers to Rating = 5; high class refers to Class = 'H'; men's product refers to Style = 'M'
Pre assembly quantity refers to PerAssemblyQty
Please list the reviewers who have given the highest rating for a medium class, women's product.
highest rating refers to Rating = 5; high class refers to Class = 'H'; men's product refers to Style = 'M'
geographical location refers to group from SalesPerson; ComissionPct refers to commission percentage where ComissionPct > = 0.018;
Is there a work order where the planned cost is different from the actual cost?
planned cost is different from actual cost refers to ActualCost ! = PlannedCost;
resellers refers to Category = 'Reseller';
Is there a work order where the planned cost is different from the actual cost?
planned cost is different from actual cost refers to ActualCost ! = PlannedCost;
married refers to MaritalStatus = M; highest pay frequency refers to PayFrequency = 2
Is there a work order where the planned cost is different from the actual cost?
planned cost is different from actual cost refers to ActualCost ! = PlannedCost;
Employees refer to PersonType = 'EM'; Single refers to MaritalStatus = 's'
Is there a work order where the planned cost is different from the actual cost?
planned cost is different from actual cost refers to ActualCost ! = PlannedCost;
store contact refers to PersonType = 'SC'; year(EndDate)>2007 and year(StartDate)<2007;
Is there a work order where the planned cost is different from the actual cost?
planned cost is different from actual cost refers to ActualCost ! = PlannedCost;
Down Tube is a name of a product;
Is there a work order where the planned cost is different from the actual cost?
planned cost is different from actual cost refers to ActualCost ! = PlannedCost;
mountain product line refers to ProductLine = 'M'; highest average rating = max(divide(sum(Rating), count(ProductReview)))
Is there a work order where the planned cost is different from the actual cost?
planned cost is different from actual cost refers to ActualCost ! = PlannedCost;
Valley Bicycle Specialists is a name of store; full address = AddressLine1+AddressLine2;
Is there a work order where the planned cost is different from the actual cost?
planned cost is different from actual cost refers to ActualCost ! = PlannedCost;
Address number 15873 refers to AddressID = '15873'; IsOnlyStateProvinceCode = '0' refers to StateProvinceCode exists; IsOnlyStateProvinceCode = '1' refers to StateProvinceCode unavailable;
Is there a work order where the planned cost is different from the actual cost?
planned cost is different from actual cost refers to ActualCost ! = PlannedCost;
employees that submitted resume to Human Resource Department and got hired refers to BusinessEntittyID NOT null;
Is there a work order where the planned cost is different from the actual cost?
planned cost is different from actual cost refers to ActualCost ! = PlannedCost;
began work in 2009 or later refers to StartDate> = 2009;
Name all products that started selling in 2013. State its respective vendor's name.
Started selling in 2013 refers to year(SellStartDate) = 2013;
employee number 257 refers to EmployeeID = 257; pending shipment status refers to Status = 3
Name all products that started selling in 2013. State its respective vendor's name.
Started selling in 2013 refers to year(SellStartDate) = 2013;
job position and job title are synonyms; full name = FirstName+MiddleName+LastName;
Name all products that started selling in 2013. State its respective vendor's name.
Started selling in 2013 refers to year(SellStartDate) = 2013;
Catherine Ward refers to the name of BusinessEntityID; how many letters in password for the e-mail account refers to LENGTH(PasswordHash)
Name all products that started selling in 2013. State its respective vendor's name.
Started selling in 2013 refers to year(SellStartDate) = 2013;
Married refers to MaritalStatus = 'M';  non-sales employees refer to PersonType = 'EM'
Name all products that started selling in 2013. State its respective vendor's name.
Started selling in 2013 refers to year(SellStartDate) = 2013;
highest rating refers to MAX(Rating)
Name all products that started selling in 2013. State its respective vendor's name.
Started selling in 2013 refers to year(SellStartDate) = 2013;
active employee refers to CurrentFlag = 1; Rate< = 30;
Name all products that started selling in 2013. State its respective vendor's name.
Started selling in 2013 refers to year(SellStartDate) = 2013;
Sales people refer to PersonType = 'SP'; projected yearly sales refers to SalesQuota
Name all products that started selling in 2013. State its respective vendor's name.
Started selling in 2013 refers to year(SellStartDate) = 2013;
projected sales quota refers to SalesQuota; projected sales quota in 2013 refers to year(QuotaDate) = 2013;
Name all products that started selling in 2013. State its respective vendor's name.
Started selling in 2013 refers to year(SellStartDate) = 2013;
Vista Card refers to CardType = 'Vista'; expire before the year 2007 refers to ExpYear< = 2006;
Name all products that started selling in 2013. State its respective vendor's name.
Started selling in 2013 refers to year(SellStartDate) = 2013;
business id refers to BusinessEntityID;
How many customers gave a product the best possible rating? Please list their names.
customers' name refers to ReviewerName; best possible ratings means the highest rating = 5
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 customers gave a product the best possible rating? Please list their names.
customers' name refers to ReviewerName; best possible ratings means the highest rating = 5
full name = FirstName+MiddleName+LastName;
How many customers gave a product the best possible rating? Please list their names.
customers' name refers to ReviewerName; best possible ratings means the highest rating = 5
High quality refers to the product's quality class, therefore Class = 'H'; the lowest transacted quantity refers to Quantity = 1
How many customers gave a product the best possible rating? Please list their names.
customers' name refers to ReviewerName; best possible ratings means the highest rating = 5
credit card number refers to CardNumber; employees who left the department refers to EndDate NOT null; Engineering Department is a name of department;
How many customers gave a product the best possible rating? Please list their names.
customers' name refers to ReviewerName; best possible ratings means the highest rating = 5
not recommended refers to PreferredVendorStatus = 0;
How many customers gave a product the best possible rating? Please list their names.
customers' name refers to ReviewerName; best possible ratings means the highest rating = 5
profit = MULTIPLY(SUBTRACT(ListPrice, Standardcost)), (Quantity)));
How many customers gave a product the best possible rating? Please list their names.
customers' name refers to ReviewerName; best possible ratings means the highest rating = 5
Job position and job title are synonyms; job position that was hired the most refers to MAX(COUNT(JobTitle); HireDate BETWEEN '2007-1-1' AND '2007-12-31';
How many customers gave a product the best possible rating? Please list their names.
customers' name refers to ReviewerName; best possible ratings means the highest rating = 5
Pre assembly quantity refers to PerAssemblyQty
How many customers gave a product the best possible rating? Please list their names.
customers' name refers to ReviewerName; best possible ratings means the highest rating = 5
year of credit card expiration refers to ExpYear;
How many customers gave a product the best possible rating? Please list their names.
customers' name refers to ReviewerName; best possible ratings means the highest rating = 5
TransactionDate BETWEEN '2013-08-01' AND '2013-08-30'; sold in refers to TransactionType = 'S' which means SalesOrder;
How many of the non-sales employees are married?
Married refers to MaritalStatus = 'M';  non-sales employees refer to PersonType = 'EM'
price refers to ListPrice;
How many of the non-sales employees are married?
Married refers to MaritalStatus = 'M';  non-sales employees refer to PersonType = 'EM'
Oldest employee refers to Max ( Subtract((now())-BirthDate));
How many of the non-sales employees are married?
Married refers to MaritalStatus = 'M';  non-sales employees refer to PersonType = 'EM'
hired in 2009 refers to year(HireDate) = 2009
How many of the non-sales employees are married?
Married refers to MaritalStatus = 'M';  non-sales employees refer to PersonType = 'EM'
where the person live refers addresstype.Name = 'Home'
How many of the non-sales employees are married?
Married refers to MaritalStatus = 'M';  non-sales employees refer to PersonType = 'EM'
Debur and Polish is name of manufacturing location
How many of the non-sales employees are married?
Married refers to MaritalStatus = 'M';  non-sales employees refer to PersonType = 'EM'
BirthDate<'1980-01-01'; single refers to MaritalStatus = 'S' or null;
How many of the non-sales employees are married?
Married refers to MaritalStatus = 'M';  non-sales employees refer to PersonType = 'EM'
Product without any rejected quantity refers to RejectedQty = 0
How many of the non-sales employees are married?
Married refers to MaritalStatus = 'M';  non-sales employees refer to PersonType = 'EM'
type of credit card refers to CardType; CardType = 'Vista';
How many of the non-sales employees are married?
Married refers to MaritalStatus = 'M';  non-sales employees refer to PersonType = 'EM'
High quality refers to the product's quality class, therefore Class = 'H'; the lowest transacted quantity refers to Quantity = 1
How many of the non-sales employees are married?
Married refers to MaritalStatus = 'M';  non-sales employees refer to PersonType = 'EM'
Transactiontype = 'w' means 'WorkOrder'; transactiontype = 's' means 'SalesOrder'; transactiontype = 'P' means 'PurchaseOrder'; happened in refers to TransactionDate
Give the Mauritius Rupee's currency code.
Mauritius Rupee is name of currency
store contact refers to PersonType = 'SC';
Give the Mauritius Rupee's currency code.
Mauritius Rupee is name of currency
Started selling in 2013 refers to year(SellStartDate) = 2013;
Give the Mauritius Rupee's currency code.
Mauritius Rupee is name of currency
home manufactured refers to MakeFlag = 1; average rating = divide(sum(Rating), count(ProductReview))
Give the Mauritius Rupee's currency code.
Mauritius Rupee is name of currency
Low quality refers to the product's quality class, therefore Class = 'L'
Give the Mauritius Rupee's currency code.
Mauritius Rupee is name of currency
Accountant is a job title; first hired = MIN(HireDate)
Give the Mauritius Rupee's currency code.
Mauritius Rupee is name of currency
Canada is name of sales territory
Give the Mauritius Rupee's currency code.
Mauritius Rupee is name of currency
handling damage is descrription of manufacturing failure which refers to ScrapReason.Name
Give the Mauritius Rupee's currency code.
Mauritius Rupee is name of currency
least number of sick leave refers to min(SickLeaveHours); PayFrequency = 1 means ‘Salary received monthly’; PayFrequency = 2 means ‘Salary received biweekly';
Give the Mauritius Rupee's currency code.
Mauritius Rupee is name of currency
Saved in English refers to product description written in English where Culture.name = 'English'
Give the Mauritius Rupee's currency code.
Mauritius Rupee is name of currency
married refers to MaritalStatus = M; highest pay frequency refers to PayFrequency = 2
List all the work orders that is related to the Down Tube.
Down Tube is a name of a product;
pay rate above 40 refers to Rate>40; male employee refers to Gender = M
List all the work orders that is related to the Down Tube.
Down Tube is a name of a product;
year(EndDate)>2009 and year(StartDate)<2009;
List all the work orders that is related to the Down Tube.
Down Tube is a name of a product;
business id refers to BusinessEntityID
List all the work orders that is related to the Down Tube.
Down Tube is a name of a product;
Product with the lowest rating refers to the rating given by the reviewer where Rating = 1
List all the work orders that is related to the Down Tube.
Down Tube is a name of a product;
married employee refers to MaritalStatus = 'M'; less than 20 vacation hours refers to VacationHours<20
List all the work orders that is related to the Down Tube.
Down Tube is a name of a product;
price refers to ListPrice;
List all the work orders that is related to the Down Tube.
Down Tube is a name of a product;
Profit = AVG(SUBTRACT(ListPrice, StandardCost)>100
List all the work orders that is related to the Down Tube.
Down Tube is a name of a product;
minimum order quantity refers to MinOrderQty;
List all the work orders that is related to the Down Tube.
Down Tube is a name of a product;
Department refers to Name where GroupName = 'Executive General and Administration'
List all the work orders that is related to the Down Tube.
Down Tube is a name of a product;
year of credit card expiration refers to ExpYear; ExpYear = 2007; store contact refers to PersonType = 'SC';
List all the sales people in the Northwest US.
Northwest is name of SalesTerritory; US is the CountryRegionCode;
store contact refers to PersonType = 'SC';
List all the sales people in the Northwest US.
Northwest is name of SalesTerritory; US is the CountryRegionCode;
hashed password refers to PasswordHash;
List all the sales people in the Northwest US.
Northwest is name of SalesTerritory; US is the CountryRegionCode;
Complete sales task refers to meeting sales quota; if Bonus = 0, it means this salesperson doesn't meet quota and vice versa
List all the sales people in the Northwest US.
Northwest is name of SalesTerritory; US is the CountryRegionCode;
minimum inventory quantity refers to SafetyStockLevel; chainring bolts is a name of product;