query
stringlengths
24
325
positive
stringlengths
1
580
negative
stringlengths
1
580
Please give all the list prices of the product LL Fork.
Hex Nut 5 is name of a product
BirthDate<'1980-01-01'; single refers to MaritalStatus = 'S' or null;
Please give all the list prices of the product LL Fork.
Hex Nut 5 is name of a product
days to end a work order = SUBTRACT(ActualEndDate, ActualStartDate);
Please give all the list prices of the product LL Fork.
Hex Nut 5 is name of a product
employee refers to PersonType = 'EM'; Male refers to Gender = 'M'; Average = Divide( SUM(VacationHours(PersonType = 'EM'& Gender = 'M')),Count(BusinessEntityID(PersonType = 'EM' & Gender = 'M')));
Please give all the list prices of the product LL Fork.
Hex Nut 5 is name of a product
LL Road Frame Sale is a description of special offer
Please give all the list prices of the product LL Fork.
Hex Nut 5 is name of a product
employees refers to BusinessEntityID; most unused sick leave refers to MAX(SickLeaveHours); position title refers to JobTitle
Please give all the list prices of the product LL Fork.
Hex Nut 5 is name of a product
weight in pounds refers to WeightUnitMeasureCode = 'LB';
What is the product with the most profit?
profit = SUBTRACT(ListPrice, StandardCost);
Bike refers to the name of the product category, therefore ProductCategoryID = 1
What is the product with the most profit?
profit = SUBTRACT(ListPrice, StandardCost);
geographic area to which the city belong refers to Group;
What is the product with the most profit?
profit = SUBTRACT(ListPrice, StandardCost);
vendor's selling price refers to StandardPrice
What is the product with the most profit?
profit = SUBTRACT(ListPrice, StandardCost);
not recommended refers to PreferredVendorStatus = 0;
What is the product with the most profit?
profit = SUBTRACT(ListPrice, StandardCost);
take more than 2 days to make refers to DaysToManufacture>2; out of stock refers to OnOrderQty = 0 or OnOrderQty is null
What is the product with the most profit?
profit = SUBTRACT(ListPrice, StandardCost);
assembly lines that are not finished refers to EndDate = null
What is the product with the most profit?
profit = SUBTRACT(ListPrice, StandardCost);
Low quality refers to the product's quality class, therefore Class = 'L'
What is the product with the most profit?
profit = SUBTRACT(ListPrice, StandardCost);
over 3 price changes refers to count(ListPrice)>3
What is the product with the most profit?
profit = SUBTRACT(ListPrice, StandardCost);
approved refers to Status = 2; confidential document refers to DocumentSummary is null;
What is the product with the most profit?
profit = SUBTRACT(ListPrice, StandardCost);
began work in 2009 or later refers to StartDate> = 2009;
List the name of married employees with less than 20 vacation hours.
married employee refers to MaritalStatus = 'M'; less than 20 vacation hours refers to VacationHours<20
Stocked quantity refers to StockedQty
List the name of married employees with less than 20 vacation hours.
married employee refers to MaritalStatus = 'M'; less than 20 vacation hours refers to VacationHours<20
actual resource hours of 2 refers to ActualResourceHrs = 2
List the name of married employees with less than 20 vacation hours.
married employee refers to MaritalStatus = 'M'; less than 20 vacation hours refers to VacationHours<20
high class refers to Class = 'H'; men's product refers to Style = 'M'
List the name of married employees with less than 20 vacation hours.
married employee refers to MaritalStatus = 'M'; less than 20 vacation hours refers to VacationHours<20
shipping address = AddressLine1+AddressLine2+City;
List the name of married employees with less than 20 vacation hours.
married employee refers to MaritalStatus = 'M'; less than 20 vacation hours refers to VacationHours<20
most reviews refers to MAX(count(ProductID))
List the name of married employees with less than 20 vacation hours.
married employee refers to MaritalStatus = 'M'; less than 20 vacation hours refers to VacationHours<20
store contact refers to PersonType = 'SC';
List the name of married employees with less than 20 vacation hours.
married employee refers to MaritalStatus = 'M'; less than 20 vacation hours refers to VacationHours<20
United States refers to CountryRegionCode = 'US';
List the name of married employees with less than 20 vacation hours.
married employee refers to MaritalStatus = 'M'; less than 20 vacation hours refers to VacationHours<20
Night shift refers to Name = 'Night';
List the name of married employees with less than 20 vacation hours.
married employee refers to MaritalStatus = 'M'; less than 20 vacation hours refers to VacationHours<20
planned cost is different from actual cost refers to ActualCost ! = PlannedCost;
List the name of married employees with less than 20 vacation hours.
married employee refers to MaritalStatus = 'M'; less than 20 vacation hours refers to VacationHours<20
shipping cost and Freight are synonyms; highest shipping cost refers to MAX(Freight);
What percentage of AdventureWorks employees are men?
male refers to Gender = 'M'; employee refers to PersonType = 'EM'; percentage = DIVIDE(COUNT(Gender = 'M'), COUNT(PersonType = 'MY'))*100%;
average pay rate = AVG(Rate); work in 2007 refers to year(StartDate)<2007 AND year(EndDate)>2007;
What percentage of AdventureWorks employees are men?
male refers to Gender = 'M'; employee refers to PersonType = 'EM'; percentage = DIVIDE(COUNT(Gender = 'M'), COUNT(PersonType = 'MY'))*100%;
maximum orders refers to MaxOrderQty; MaxOrderQty BETWEEN '500' AND '750'; profit on net = SUBTRACT(LastReceiptCost, StandardPrice);
What percentage of AdventureWorks employees are men?
male refers to Gender = 'M'; employee refers to PersonType = 'EM'; percentage = DIVIDE(COUNT(Gender = 'M'), COUNT(PersonType = 'MY'))*100%;
oldest employee refers to min(BirthDate)
What percentage of AdventureWorks employees are men?
male refers to Gender = 'M'; employee refers to PersonType = 'EM'; percentage = DIVIDE(COUNT(Gender = 'M'), COUNT(PersonType = 'MY'))*100%;
Oldest employee refers to Max ( Subtract((now())-BirthDate));
What percentage of AdventureWorks employees are men?
male refers to Gender = 'M'; employee refers to PersonType = 'EM'; percentage = DIVIDE(COUNT(Gender = 'M'), COUNT(PersonType = 'MY'))*100%;
shelves refer to shelf; down tube is a product
What percentage of AdventureWorks employees are men?
male refers to Gender = 'M'; employee refers to PersonType = 'EM'; percentage = DIVIDE(COUNT(Gender = 'M'), COUNT(PersonType = 'MY'))*100%;
highest rating refers to Rating = 5; profit = SUBTRACT(ListPrice, StandardCost);
What percentage of AdventureWorks employees are men?
male refers to Gender = 'M'; employee refers to PersonType = 'EM'; percentage = DIVIDE(COUNT(Gender = 'M'), COUNT(PersonType = 'MY'))*100%;
profit = SUBTRACT(ListPrice, StandardCost);
What percentage of AdventureWorks employees are men?
male refers to Gender = 'M'; employee refers to PersonType = 'EM'; percentage = DIVIDE(COUNT(Gender = 'M'), COUNT(PersonType = 'MY'))*100%;
LL Road Frame Sale is a description of special offer
What percentage of AdventureWorks employees are men?
male refers to Gender = 'M'; employee refers to PersonType = 'EM'; percentage = DIVIDE(COUNT(Gender = 'M'), COUNT(PersonType = 'MY'))*100%;
days to end a work order = SUBTRACT(ActualEndDate, ActualStartDate);
What percentage of AdventureWorks employees are men?
male refers to Gender = 'M'; employee refers to PersonType = 'EM'; percentage = DIVIDE(COUNT(Gender = 'M'), COUNT(PersonType = 'MY'))*100%;
year of credit card expiration refers to ExpYear;
Which product ID do not have any work order ID?
Do not have any work order ID means WorkOrderID is null
profit on net = subtract(LastReceiptCost, StandardPrice); best profit on net refers to max(subtract(LastReceiptCost, StandardPrice))
Which product ID do not have any work order ID?
Do not have any work order ID means WorkOrderID is null
Profit as 82.41 = SUTRACT(ListPrice, StandardCost); May of 2012 refers to StartDate = '2012-05'
Which product ID do not have any work order ID?
Do not have any work order ID means WorkOrderID is null
employees who left a department refers to EndDate NOT null; average stay = AVG(SUBTRACT(year(EndDate)), (year(T1.StartDate)));
Which product ID do not have any work order ID?
Do not have any work order ID means WorkOrderID is null
number of departments an employee works for between 2011 and 2012 refers to year(StartDate) BETWEEN 2011 AND 2012 and year(EndDate) BETWEEN 2011 and 2012;
Which product ID do not have any work order ID?
Do not have any work order ID means WorkOrderID is null
employee number 257 refers to EmployeeID = 257; pending shipment status refers to Status = 3
Which product ID do not have any work order ID?
Do not have any work order ID means WorkOrderID is null
average age = AVG(subtract(year(now), year(HireDate)))
Which product ID do not have any work order ID?
Do not have any work order ID means WorkOrderID is null
thumbnail photo file refers to ThumbnailPhotoFileName;
Which product ID do not have any work order ID?
Do not have any work order ID means WorkOrderID is null
highest selling price refers to MAX(ListPrice);
Which product ID do not have any work order ID?
Do not have any work order ID means WorkOrderID is null
year of credit card expiration refers to ExpYear;
Which product ID do not have any work order ID?
Do not have any work order ID means WorkOrderID is null
active status of employees refers to CurrentFlag = 1; Male refers to Gender = 'M'; highest frequency refers to PayFrequency = 2;
List the full name of all the 'Production Technician - WC50'
full name = FirstName+MiddleName+LastName; Production Technician - WC50 is a job title;
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))
List the full name of all the 'Production Technician - WC50'
full name = FirstName+MiddleName+LastName; Production Technician - WC50 is a job title;
increased their current year sales by more than 60% refers to DIVIDE(SUBTRACT(SalesYTD, SalesLastYear),SalesLastYear)>0.6
List the full name of all the 'Production Technician - WC50'
full name = FirstName+MiddleName+LastName; Production Technician - WC50 is a job title;
employee number 257 refers to EmployeeID = 257; pending shipment status refers to Status = 3
List the full name of all the 'Production Technician - WC50'
full name = FirstName+MiddleName+LastName; Production Technician - WC50 is a job title;
AVG(Rating) = DIVIDE(SUM(rating), COUNT(ReviewerName))
List the full name of all the 'Production Technician - WC50'
full name = FirstName+MiddleName+LastName; Production Technician - WC50 is a job title;
married employee refers to MaritalStatus = 'M'; less than 20 vacation hours refers to VacationHours<20
List the full name of all the 'Production Technician - WC50'
full name = FirstName+MiddleName+LastName; Production Technician - WC50 is a job title;
not recommended refers to PreferredVendorStatus = 0;
List the full name of all the 'Production Technician - WC50'
full name = FirstName+MiddleName+LastName; Production Technician - WC50 is a job title;
product with large photo refers to LargePhoto NOT null;
List the full name of all the 'Production Technician - WC50'
full name = FirstName+MiddleName+LastName; Production Technician - WC50 is a job title;
actual resource hours of 2 refers to ActualResourceHrs = 2
List the full name of all the 'Production Technician - WC50'
full name = FirstName+MiddleName+LastName; Production Technician - WC50 is a job title;
non-sales employee refers to PersonType = 'EM'
List the full name of all the 'Production Technician - WC50'
full name = FirstName+MiddleName+LastName; Production Technician - WC50 is a job title;
cost refers to StandardCost;
How many days did it take to end the work order "425"?
days to end a work order = SUBTRACT(ActualEndDate, ActualStartDate);
compartment refers to Shelf; container refers to Bin; Lock Ring is a name of product
How many days did it take to end the work order "425"?
days to end a work order = SUBTRACT(ActualEndDate, ActualStartDate);
product is mnanufactured in-house refers to MakeFlag = 1; salable product refers to FinishedGoodsFlag = 1;
How many days did it take to end the work order "425"?
days to end a work order = SUBTRACT(ActualEndDate, ActualStartDate);
Document Control Assistant refers  to the  JobTitle = 'Document Control Assistant'; hired on 2009/1/22 means the person's hiring date is HireDate = '2009-01-22'; private documents indicate that DocumentSummary is null; DIVIDE(COUNT(DocumentSummary is null), COUNT(DocumentSummary))*100
How many days did it take to end the work order "425"?
days to end a work order = SUBTRACT(ActualEndDate, ActualStartDate);
lowest rating refers to Rating = 1
How many days did it take to end the work order "425"?
days to end a work order = SUBTRACT(ActualEndDate, ActualStartDate);
Married refers to MaritalStatus = 'M';  non-sales employees refer to PersonType = 'EM'
How many days did it take to end the work order "425"?
days to end a work order = SUBTRACT(ActualEndDate, ActualStartDate);
Down Tube is a name of a product;
How many days did it take to end the work order "425"?
days to end a work order = SUBTRACT(ActualEndDate, ActualStartDate);
employee refers to PersonType = 'EM'; Male refers to Gender = 'M'; Average = Divide( SUM(VacationHours(PersonType = 'EM'& Gender = 'M')),Count(BusinessEntityID(PersonType = 'EM' & Gender = 'M')));
How many days did it take to end the work order "425"?
days to end a work order = SUBTRACT(ActualEndDate, ActualStartDate);
married employee refers to MaritalStatus = 'M'; less than 20 vacation hours refers to VacationHours<20
How many days did it take to end the work order "425"?
days to end a work order = SUBTRACT(ActualEndDate, ActualStartDate);
pay rate above 40 refers to Rate>40; male employee refers to Gender = M
How many days did it take to end the work order "425"?
days to end a work order = SUBTRACT(ActualEndDate, ActualStartDate);
manufactured in house refers to MakeFlag = 1; salable product refers to FinishedGoodsFlag = 1; over 10 reviews refers to count(comments)>10
What product has the fewest online orders from one customer? List the product's class, line of business, and list price.
fewest online orders refer to MIN(Quantity);
married refers to MaritalStatus = 'M'; male refers to Gender = 'M'; BirthDate < = '1959-12-31';
What product has the fewest online orders from one customer? List the product's class, line of business, and list price.
fewest online orders refer to MIN(Quantity);
Employees who don't wish to receive e-mail promotions refers to EmailPromotion = 0;
What product has the fewest online orders from one customer? List the product's class, line of business, and list price.
fewest online orders refer to MIN(Quantity);
low class refers to Class = 'L'; universal refers to Style = 'U'; road frame is a name of product subcategory; average profit = AVG(SUBTRACT(ListPrice, StandardCost);
What product has the fewest online orders from one customer? List the product's class, line of business, and list price.
fewest online orders refer to MIN(Quantity);
product with large photo refers to LargePhoto NOT null;
What product has the fewest online orders from one customer? List the product's class, line of business, and list price.
fewest online orders refer to MIN(Quantity);
credit card number refers to CardNumber; employees who left the department refers to EndDate NOT null; Engineering Department is a name of department;
What product has the fewest online orders from one customer? List the product's class, line of business, and list price.
fewest online orders refer to MIN(Quantity);
compartment refers to Shelf; container refers to Bin; Lock Ring is a name of product
What product has the fewest online orders from one customer? List the product's class, line of business, and list price.
fewest online orders refer to MIN(Quantity);
minimum order quantity refers to MinOrderQty;
What product has the fewest online orders from one customer? List the product's class, line of business, and list price.
fewest online orders refer to MIN(Quantity);
in centimeter refers to SizeUnitMeasureCode = 'CM';
What product has the fewest online orders from one customer? List the product's class, line of business, and list price.
fewest online orders refer to MIN(Quantity);
Profit = SUBTRACT(StandardPrice, LastRecipeCost)
What product has the fewest online orders from one customer? List the product's class, line of business, and list price.
fewest online orders refer to MIN(Quantity);
Business along with their numbers refers to the BusinessEntityID; located in Duvall refers to City = 'Duvall'
For the document Control Assistant who was born on 1975/12/25, how many private documents did he/she have?
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
profit on net = SUBTRACT(LastReceiptCost, StandardPrice);
For the document Control Assistant who was born on 1975/12/25, how many private documents did he/she have?
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
assembly lines that are not finished refers to EndDate = null
For the document Control Assistant who was born on 1975/12/25, how many private documents did he/she have?
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
card that expires in 2007 refers to ExpYear = 2007;
For the document Control Assistant who was born on 1975/12/25, how many private documents did he/she have?
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
TransactionDate BETWEEN '2013-08-01' AND '2013-08-30'; sold in refers to TransactionType = 'S' which means SalesOrder;
For the document Control Assistant who was born on 1975/12/25, how many private documents did he/she have?
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
price refers to ListPrice;
For the document Control Assistant who was born on 1975/12/25, how many private documents did he/she have?
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
Average = Divide(Sum(Substract(year(@today),year(BirthDate))),Count(BusinessEntityID) by each Department ID; youngest employee refers to Min(BirthDate);
For the document Control Assistant who was born on 1975/12/25, how many private documents did he/she have?
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
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'))
For the document Control Assistant who was born on 1975/12/25, how many private documents did he/she have?
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
employee exempt from collective bargaining refers to SalariedFlag = 1; highest pay rate refers to max(Rate)
For the document Control Assistant who was born on 1975/12/25, how many private documents did he/she have?
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
Road Frames is a name of product subcategory
For the document Control Assistant who was born on 1975/12/25, how many private documents did he/she have?
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
business number refers to BusinessEntityID where BusinessEntityID = 1496; how long does it take refers to AverageLeadTime
Who are the employees that submitted resume to Human Resource Department and got hired? State the last name.
employees that submitted resume to Human Resource Department and got hired refers to BusinessEntittyID NOT null;
thumbnail photo file refers to ThumbnailPhotoFileName;
Who are the employees that submitted resume to Human Resource Department and got hired? State the last name.
employees that submitted resume to Human Resource Department and got hired refers to BusinessEntittyID NOT null;
High quality refers to the product's quality class, therefore Class = 'H'; the lowest transacted quantity refers to Quantity = 1
Who are the employees that submitted resume to Human Resource Department and got hired? State the last name.
employees that submitted resume to Human Resource Department and got hired refers to BusinessEntittyID NOT null;
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))
Who are the employees that submitted resume to Human Resource Department and got hired? State the last name.
employees that submitted resume to Human Resource Department and got hired refers to BusinessEntittyID NOT null;
Night shift refers to Name = 'Night';
Who are the employees that submitted resume to Human Resource Department and got hired? State the last name.
employees that submitted resume to Human Resource Department and got hired refers to BusinessEntittyID NOT null;
proportion = DIVIDE(SUM(Name = 'UK')), (COUNT(SalesOrderID))) as count;
Who are the employees that submitted resume to Human Resource Department and got hired? State the last name.
employees that submitted resume to Human Resource Department and got hired refers to BusinessEntittyID NOT null;
year(StartDate) 2007; year of credit card expiration refers to ExpYear; ExpYear = 2007;
Who are the employees that submitted resume to Human Resource Department and got hired? State the last name.
employees that submitted resume to Human Resource Department and got hired refers to BusinessEntittyID NOT null;
type of employee refers to PersonType;
Who are the employees that submitted resume to Human Resource Department and got hired? State the last name.
employees that submitted resume to Human Resource Department and got hired refers to BusinessEntittyID NOT null;
Department refers to Name where GroupName = 'Executive General and Administration'
Who are the employees that submitted resume to Human Resource Department and got hired? State the last name.
employees that submitted resume to Human Resource Department and got hired refers to BusinessEntittyID NOT null;
vendor's selling price refers to StandardPrice
Who are the employees that submitted resume to Human Resource Department and got hired? State the last name.
employees that submitted resume to Human Resource Department and got hired refers to BusinessEntittyID NOT null;
BirthDate<'1980-01-01'; single refers to MaritalStatus = 'S' or null;
Who is the sales person in charge of the territory with the id "9"? Provide their full name.
full name = FirstName+MiddleName+LastName;
highest rating refers to MAX(Rating)
Who is the sales person in charge of the territory with the id "9"? Provide their full name.
full name = FirstName+MiddleName+LastName;
store contact refers to PersonType = 'SC';
Who is the sales person in charge of the territory with the id "9"? Provide their full name.
full name = FirstName+MiddleName+LastName;
full name = FirstName+MiddleName+LastName; HiredDate refers to the date the person joins the company;
Who is the sales person in charge of the territory with the id "9"? Provide their full name.
full name = FirstName+MiddleName+LastName;
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