query
stringlengths
24
325
positive
stringlengths
1
580
negative
stringlengths
1
580
State the product name, product line, rating and the selling price of product with the lowest rating.
Product with the lowest rating refers to the rating given by the reviewer where Rating = 1
employee exempt from collective bargaining refers to SalariedFlag = 1; highest pay rate refers to max(Rate)
State the product name, product line, rating and the selling price of product with the lowest rating.
Product with the lowest rating refers to the rating given by the reviewer where Rating = 1
France territory refers to SalesTerritory.Name = 'France';
State the product name, product line, rating and the selling price of product with the lowest rating.
Product with the lowest rating refers to the rating given by the reviewer where Rating = 1
shelves refer to shelf; down tube is a product
State the product name, product line, rating and the selling price of product with the lowest rating.
Product with the lowest rating refers to the rating given by the reviewer where Rating = 1
TransactionDate BETWEEN '2013-08-01' AND '2013-08-30'; sold in refers to TransactionType = 'S' which means SalesOrder;
State the product name, product line, rating and the selling price of product with the lowest rating.
Product with the lowest rating refers to the rating given by the reviewer where Rating = 1
shipping address = AddressLine1+AddressLine2+City;
State the product name, product line, rating and the selling price of product with the lowest rating.
Product with the lowest rating refers to the rating given by the reviewer where Rating = 1
production technician is a job title; below average rate refers to Rate<AVG(Rate);
Where does the person with the BusinessEntityID "5555" live?
where the person live refers addresstype.Name = 'Home'
full name = FirstName+MiddleName+LastName; Production Technician - WC50 is a job title;
Where does the person with the BusinessEntityID "5555" live?
where the person live refers addresstype.Name = 'Home'
assembly lines that are not finished refers to EndDate = null
Where does the person with the BusinessEntityID "5555" live?
where the person live refers addresstype.Name = 'Home'
product maintenance documents are private refers to DocumentSummary = null
Where does the person with the BusinessEntityID "5555" live?
where the person live refers addresstype.Name = 'Home'
planned cost is different from actual cost refers to ActualCost ! = PlannedCost;
Where does the person with the BusinessEntityID "5555" live?
where the person live refers addresstype.Name = 'Home'
type of employee refers to PersonType;
Where does the person with the BusinessEntityID "5555" live?
where the person live refers addresstype.Name = 'Home'
percentage of profit = DIVIDE(SUBTRACT(ListPrice, StandardCost), (StandardCost)) as percentage;
Where does the person with the BusinessEntityID "5555" live?
where the person live refers addresstype.Name = 'Home'
High quality refers to the product's quality class, therefore Class = 'H'
Where does the person with the BusinessEntityID "5555" live?
where the person live refers addresstype.Name = 'Home'
most reviews refers to MAX(count(ProductID))
Where does the person with the BusinessEntityID "5555" live?
where the person live refers addresstype.Name = 'Home'
Catherine Ward refers to the name of BusinessEntityID; how many letters in password for the e-mail account refers to LENGTH(PasswordHash)
Where does the person with the BusinessEntityID "5555" live?
where the person live refers addresstype.Name = 'Home'
miinimum order quantity refers to MinOrderQty = 100
Which chromoly steel product model has AdventureWorks saved in English?
Saved in English refers to product description written in English where Culture.name = 'English'
maximum orders refers to MaxOrderQty; MaxOrderQty BETWEEN '500' AND '750'; profit on net = SUBTRACT(LastReceiptCost, StandardPrice);
Which chromoly steel product model has AdventureWorks saved in English?
Saved in English refers to product description written in English where Culture.name = 'English'
Information Service is a name of department;
Which chromoly steel product model has AdventureWorks saved in English?
Saved in English refers to product description written in English where Culture.name = 'English'
goods refers to products
Which chromoly steel product model has AdventureWorks saved in English?
Saved in English refers to product description written in English where Culture.name = 'English'
United States refers to CountryRegionCode = 'US';
Which chromoly steel product model has AdventureWorks saved in English?
Saved in English refers to product description written in English where Culture.name = 'English'
Mauritius Rupee is name of currency
Which chromoly steel product model has AdventureWorks saved in English?
Saved in English refers to product description written in English where Culture.name = 'English'
employees that submitted resume to Human Resource Department and got hired refers to BusinessEntittyID NOT null;
Which chromoly steel product model has AdventureWorks saved in English?
Saved in English refers to product description written in English where Culture.name = 'English'
percentage = DIVIDE(SUM(Name = 'Night')), (COUNT(ShiftID)) as percentage;
Which chromoly steel product model has AdventureWorks saved in English?
Saved in English refers to product description written in English where Culture.name = 'English'
Business along with their numbers refers to the BusinessEntityID; located in Duvall refers to City = 'Duvall'
Which chromoly steel product model has AdventureWorks saved in English?
Saved in English refers to product description written in English where Culture.name = 'English'
Transactiontype = 'w' means 'WorkOrder'; transactiontype = 's' means 'SalesOrder'; transactiontype = 'P' means 'PurchaseOrder'; happened in refers to TransactionDate
Which chromoly steel product model has AdventureWorks saved in English?
Saved in English refers to product description written in English where Culture.name = 'English'
cost refers to StandardCost;
Please show the credit card number of David Bradley.
credit card number refers to CardNumber;
Profit = SUBTRACT(StandardPrice, LastRecipeCost)
Please show the credit card number of David Bradley.
credit card number refers to CardNumber;
Department refers to Name where GroupName = 'Executive General and Administration'
Please show the credit card number of David Bradley.
credit card number refers to CardNumber;
more than 10 sick leave hours refers to SickLeaveHours>10; pay rate over 35 refers to Rate>35;
Please show the credit card number of David Bradley.
credit card number refers to CardNumber;
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'))
Please show the credit card number of David Bradley.
credit card number refers to CardNumber;
least amount of workers refers to MIN(count(DepartmentID));
Please show the credit card number of David Bradley.
credit card number refers to CardNumber;
Down Tube is a name of a product;
Please show the credit card number of David Bradley.
credit card number refers to CardNumber;
Rejected refers rejected product in which to RejectedQty = 1
Please show the credit card number of David Bradley.
credit card number refers to CardNumber;
Saved in English refers to product description written in English where Culture.name = 'English'
Please show the credit card number of David Bradley.
credit card number refers to CardNumber;
projected sales quota refers to SalesQuota; projected sales quota in 2013 refers to year(QuotaDate) = 2013;
Please show the credit card number of David Bradley.
credit card number refers to CardNumber;
current payrate refers to max(Rate); percentage increment = divide(subtract(max(Rate), min(Rate)), min(Rate))*100%
Which product gets the most reviews?
most reviews refers to MAX(count(ProductID))
geographical location refers to group from SalesPerson; ComissionPct refers to commission percentage where ComissionPct > = 0.018;
Which product gets the most reviews?
most reviews refers to MAX(count(ProductID))
Male refers to Gender = 'M'; married refers to MaritalStatus = 'M'; oldest refers to Min(BirthDate);
Which product gets the most reviews?
most reviews refers to MAX(count(ProductID))
purchase orders refers to TransactionType = 'P'; first six months of 2012 refers to TransactionDate bewteen '2012-01-01'and '2012-06-30'; average = DIVIDE(ActualCost where TransactionType = 'P', count(TransactionID))
Which product gets the most reviews?
most reviews refers to MAX(count(ProductID))
Canada is name of a sales territory
Which product gets the most reviews?
most reviews refers to MAX(count(ProductID))
discount percentage refers to DiscountPct; highest discount percentage refers to MAX(DiscountPct);
Which product gets the most reviews?
most reviews refers to MAX(count(ProductID))
miinimum order quantity refers to MinOrderQty = 100
Which product gets the most reviews?
most reviews refers to MAX(count(ProductID))
Profit on net = SUBTRACT(LastReceiptCost, StandardPrice); full location = AddressLine1+AddressLine2+City+PostalCode;
Which product gets the most reviews?
most reviews refers to MAX(count(ProductID))
Jill refers to the name of reviewer; HL Mountain Pedal refers to the name of the product
Which product gets the most reviews?
most reviews refers to MAX(count(ProductID))
product number = productID
Which product gets the most reviews?
most reviews refers to MAX(count(ProductID))
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 website purchasing links of the vendors from whom the product Hex Nut 5 can be purchased.
website purchasing link refers to PurchasingWebServiceURL
Profit = SUBTRACT(ListPrice, StandardCost); the highest rating in review refers to Rating = 5
Please list the website purchasing links of the vendors from whom the product Hex Nut 5 can be purchased.
website purchasing link refers to PurchasingWebServiceURL
High quality refers to the product's quality class, therefore Class = 'H'; the lowest transacted quantity refers to Quantity = 1
Please list the website purchasing links of the vendors from whom the product Hex Nut 5 can be purchased.
website purchasing link refers to PurchasingWebServiceURL
highest amount of difference between the ordered quantity and actual quantity received in a single purchase order refers to MAX(SUBTRACT(OrderQty, ReceivedQty));
Please list the website purchasing links of the vendors from whom the product Hex Nut 5 can be purchased.
website purchasing link refers to PurchasingWebServiceURL
Vendor's selling price of a single product refers to UnitPrice;
Please list the website purchasing links of the vendors from whom the product Hex Nut 5 can be purchased.
website purchasing link refers to PurchasingWebServiceURL
mountain product line refers to ProductLine = 'M'
Please list the website purchasing links of the vendors from whom the product Hex Nut 5 can be purchased.
website purchasing link refers to PurchasingWebServiceURL
product number = productID
Please list the website purchasing links of the vendors from whom the product Hex Nut 5 can be purchased.
website purchasing link refers to PurchasingWebServiceURL
Department refers to Name where GroupName = 'Executive General and Administration'
Please list the website purchasing links of the vendors from whom the product Hex Nut 5 can be purchased.
website purchasing link refers to PurchasingWebServiceURL
not recommended refers to PreferredVendorStatus = 0;
Please list the website purchasing links of the vendors from whom the product Hex Nut 5 can be purchased.
website purchasing link refers to PurchasingWebServiceURL
price refers to ListPrice;
Please list the website purchasing links of the vendors from whom the product Hex Nut 5 can be purchased.
website purchasing link refers to PurchasingWebServiceURL
Night shift refers to Name = 'Night';
What is the name of the territory assigned to the sales person with business id "277"?
business id refers to BusinessEntityID
type of employee refers to PersonType;
What is the name of the territory assigned to the sales person with business id "277"?
business id refers to BusinessEntityID
Profit = SUBTRACT(StandardPrice, LastRecipeCost)
What is the name of the territory assigned to the sales person with business id "277"?
business id refers to BusinessEntityID
Sales people refer to PersonType = 'SP'; projected yearly sales refers to SalesQuota
What is the name of the territory assigned to the sales person with business id "277"?
business id refers to BusinessEntityID
weight in pounds refers to WeightUnitMeasureCode = 'LB';
What is the name of the territory assigned to the sales person with business id "277"?
business id refers to BusinessEntityID
mountain product line refers to ProductLine = 'M'; highest average rating = max(divide(sum(Rating), count(ProductReview)))
What is the name of the territory assigned to the sales person with business id "277"?
business id refers to BusinessEntityID
employee refers to PersonType = 'EM'; Male refers to Gender = 'M'; Average = Divide( SUM(VacationHours(PersonType = 'EM'& Gender = 'M')),Count(BusinessEntityID(PersonType = 'EM' & Gender = 'M')));
What is the name of the territory assigned to the sales person with business id "277"?
business id refers to BusinessEntityID
price refers to ListPrice; highest price refers to MAX(ListPrice);
What is the name of the territory assigned to the sales person with business id "277"?
business id refers to BusinessEntityID
United States refers to CountryRegionCode = 'US';
What is the name of the territory assigned to the sales person with business id "277"?
business id refers to BusinessEntityID
highest selling price refers to MAX(ListPrice);
What is the name of the territory assigned to the sales person with business id "277"?
business id refers to BusinessEntityID
married employee refers to MaritalStatus = 'M'; less than 20 vacation hours refers to VacationHours<20
What is the current payrate of Rob Walters? Calculate the percentage increment from his previous payrate.
current payrate refers to max(Rate); percentage increment = divide(subtract(max(Rate), min(Rate)), min(Rate))*100%
Salespeople refers to PersonType = 'SP'
What is the current payrate of Rob Walters? Calculate the percentage increment from his previous payrate.
current payrate refers to max(Rate); percentage increment = divide(subtract(max(Rate), min(Rate)), min(Rate))*100%
purchase orders refers to TransactionType = 'P'; first six months of 2012 refers to TransactionDate bewteen '2012-01-01'and '2012-06-30'; average = DIVIDE(ActualCost where TransactionType = 'P', count(TransactionID))
What is the current payrate of Rob Walters? Calculate the percentage increment from his previous payrate.
current payrate refers to max(Rate); percentage increment = divide(subtract(max(Rate), min(Rate)), min(Rate))*100%
mountain product line refers to ProductLine = 'M'; sold by over 5 vendors refers to count(Name)>5
What is the current payrate of Rob Walters? Calculate the percentage increment from his previous payrate.
current payrate refers to max(Rate); percentage increment = divide(subtract(max(Rate), min(Rate)), min(Rate))*100%
Northwest is name of SalesTerritory; US is the CountryRegionCode;
What is the current payrate of Rob Walters? Calculate the percentage increment from his previous payrate.
current payrate refers to max(Rate); percentage increment = divide(subtract(max(Rate), min(Rate)), min(Rate))*100%
Pre assembly quantity refers to PerAssemblyQty
What is the current payrate of Rob Walters? Calculate the percentage increment from his previous payrate.
current payrate refers to max(Rate); percentage increment = divide(subtract(max(Rate), min(Rate)), min(Rate))*100%
Employees who don't wish to receive e-mail promotions refers to EmailPromotion = 0;
What is the current payrate of Rob Walters? Calculate the percentage increment from his previous payrate.
current payrate refers to max(Rate); percentage increment = divide(subtract(max(Rate), min(Rate)), min(Rate))*100%
website purchasing link refers to PurchasingWebServiceURL
What is the current payrate of Rob Walters? Calculate the percentage increment from his previous payrate.
current payrate refers to max(Rate); percentage increment = divide(subtract(max(Rate), min(Rate)), min(Rate))*100%
salable product refers to FinishedGoodsFlag = 1; mountain product line refers to ProductLine = 'M'
What is the current payrate of Rob Walters? Calculate the percentage increment from his previous payrate.
current payrate refers to max(Rate); percentage increment = divide(subtract(max(Rate), min(Rate)), min(Rate))*100%
seasonal discount is a type of special offer; discount percentage refers to DiscountPct; highest discount percentage refers to MAX(DiscountPct);
What is the current payrate of Rob Walters? Calculate the percentage increment from his previous payrate.
current payrate refers to max(Rate); percentage increment = divide(subtract(max(Rate), min(Rate)), min(Rate))*100%
documents pending approval refers to Status = 1
What is the employee of company number 1's full name?
company number 1 refers to BusinessEntityId = 1; employee refers to PersonType = 'EM'; full name refers to FirstName + MiddleName + LastName
hired in 2009 refers to year(HireDate) = 2009
What is the employee of company number 1's full name?
company number 1 refers to BusinessEntityId = 1; employee refers to PersonType = 'EM'; full name refers to FirstName + MiddleName + LastName
take more than 2 days to make refers to DaysToManufacture>2; out of stock refers to OnOrderQty = 0 or OnOrderQty is null; manufactured in house refers to MakeFlag = 1
What is the employee of company number 1's full name?
company number 1 refers to BusinessEntityId = 1; employee refers to PersonType = 'EM'; full name refers to FirstName + MiddleName + LastName
Stocked quantity refers to StockedQty
What is the employee of company number 1's full name?
company number 1 refers to BusinessEntityId = 1; employee refers to PersonType = 'EM'; full name refers to FirstName + MiddleName + LastName
highest selling price refers to MAX(ListPrice);
What is the employee of company number 1's full name?
company number 1 refers to BusinessEntityId = 1; employee refers to PersonType = 'EM'; full name refers to FirstName + MiddleName + LastName
mountain product line refers to ProductLine = 'M'; highest average rating = max(divide(sum(Rating), count(ProductReview)))
What is the employee of company number 1's full name?
company number 1 refers to BusinessEntityId = 1; employee refers to PersonType = 'EM'; full name refers to FirstName + MiddleName + LastName
Product without any rejected quantity refers to RejectedQty = 0
What is the employee of company number 1's full name?
company number 1 refers to BusinessEntityId = 1; employee refers to PersonType = 'EM'; full name refers to FirstName + MiddleName + LastName
current payrate refers to max(Rate); percentage increment = divide(subtract(max(Rate), min(Rate)), min(Rate))*100%
What is the employee of company number 1's full name?
company number 1 refers to BusinessEntityId = 1; employee refers to PersonType = 'EM'; full name refers to FirstName + MiddleName + LastName
Business along with their numbers refers to the BusinessEntityID; located in Duvall refers to City = 'Duvall'
What is the employee of company number 1's full name?
company number 1 refers to BusinessEntityId = 1; employee refers to PersonType = 'EM'; full name refers to FirstName + MiddleName + LastName
proportion = DIVIDE(SUM(Name = 'UK')), (COUNT(SalesOrderID))) as count;
What is the employee of company number 1's full name?
company number 1 refers to BusinessEntityId = 1; employee refers to PersonType = 'EM'; full name refers to FirstName + MiddleName + LastName
customers' name refers to ReviewerName; best possible ratings means the highest rating = 5
Who made the purchase order with the greatest total due before freight? Indicate her employee ID and calculate for his/her age when he/she was hired.
total due before freight = SUBTRACT(TotalDue, Freight); age at the time an employee was hired = SUBTRACT(HireDate, year(BirthDate);
highest rating refers to Rating = 5; high class refers to Class = 'H'; men's product refers to Style = 'M'
Who made the purchase order with the greatest total due before freight? Indicate her employee ID and calculate for his/her age when he/she was hired.
total due before freight = SUBTRACT(TotalDue, Freight); age at the time an employee was hired = SUBTRACT(HireDate, year(BirthDate);
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
Who made the purchase order with the greatest total due before freight? Indicate her employee ID and calculate for his/her age when he/she was hired.
total due before freight = SUBTRACT(TotalDue, Freight); age at the time an employee was hired = SUBTRACT(HireDate, year(BirthDate);
full name = FirstName+MiddleName+LastName; HiredDate refers to the date the person joins the company;
Who made the purchase order with the greatest total due before freight? Indicate her employee ID and calculate for his/her age when he/she was hired.
total due before freight = SUBTRACT(TotalDue, Freight); age at the time an employee was hired = SUBTRACT(HireDate, year(BirthDate);
card that expires in 2007 refers to ExpYear = 2007;
Who made the purchase order with the greatest total due before freight? Indicate her employee ID and calculate for his/her age when he/she was hired.
total due before freight = SUBTRACT(TotalDue, Freight); age at the time an employee was hired = SUBTRACT(HireDate, year(BirthDate);
mountain product line refers to ProductLine = 'M'
Who made the purchase order with the greatest total due before freight? Indicate her employee ID and calculate for his/her age when he/she was hired.
total due before freight = SUBTRACT(TotalDue, Freight); age at the time an employee was hired = SUBTRACT(HireDate, year(BirthDate);
Started selling in 2013 refers to year(SellStartDate) = 2013;
Who made the purchase order with the greatest total due before freight? Indicate her employee ID and calculate for his/her age when he/she was hired.
total due before freight = SUBTRACT(TotalDue, Freight); age at the time an employee was hired = SUBTRACT(HireDate, year(BirthDate);
employee refers to PersonType = 'EM'; Male refers to Gender = 'M'; Average = Divide( SUM(VacationHours(PersonType = 'EM'& Gender = 'M')),Count(BusinessEntityID(PersonType = 'EM' & Gender = 'M')));
Who made the purchase order with the greatest total due before freight? Indicate her employee ID and calculate for his/her age when he/she was hired.
total due before freight = SUBTRACT(TotalDue, Freight); age at the time an employee was hired = SUBTRACT(HireDate, year(BirthDate);
mountain product line refers to ProductLine = 'M'; sold by over 5 vendors refers to count(Name)>5
Who made the purchase order with the greatest total due before freight? Indicate her employee ID and calculate for his/her age when he/she was hired.
total due before freight = SUBTRACT(TotalDue, Freight); age at the time an employee was hired = SUBTRACT(HireDate, year(BirthDate);
Doesn't have a State Province Code refers to IsOnlyStateProvinceFlag = 1 where StateProvinceCode is unavailable
Who made the purchase order with the greatest total due before freight? Indicate her employee ID and calculate for his/her age when he/she was hired.
total due before freight = SUBTRACT(TotalDue, Freight); age at the time an employee was hired = SUBTRACT(HireDate, year(BirthDate);
actual resource hours of 2 refers to ActualResourceHrs = 2
Please list the top 3 discounts with the highest discount percentage and fall under the reseller category.
discount percentage refers to DiscountPct; highest discount percentage refers to MAX(DiscountPct);
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'))
Please list the top 3 discounts with the highest discount percentage and fall under the reseller category.
discount percentage refers to DiscountPct; highest discount percentage refers to MAX(DiscountPct);
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;
Please list the top 3 discounts with the highest discount percentage and fall under the reseller category.
discount percentage refers to DiscountPct; highest discount percentage refers to MAX(DiscountPct);
married refers to MaritalStatus = 'M'; Contact does wish to receive e-mail promotions from Adventure Works refers to EmailPromotion = 1; Average = Divide (Sum(Rate (MaritalStatus = 'M' & EmailPromotion = 1))), Count (BusinessEntityID (MaritalStatus = 'M' & EmailPromotion = 1)); MAX(Rate (MaritalStatus = 'M' & EmailPromotion = 1) - Average;
Please list the top 3 discounts with the highest discount percentage and fall under the reseller category.
discount percentage refers to DiscountPct; highest discount percentage refers to MAX(DiscountPct);
product number = productID