query
stringlengths
24
325
positive
stringlengths
1
580
negative
stringlengths
1
580
Please list the total number of companies with a commission percentage of 0.018 or above, along with each company's assigned geographical location.
geographical location refers to group from SalesPerson; ComissionPct refers to commission percentage where ComissionPct > = 0.018;
year of credit card expiration refers to ExpYear; ExpYear = 2007; store contact refers to PersonType = 'SC';
Please list the total number of companies with a commission percentage of 0.018 or above, along with each company's assigned geographical location.
geographical location refers to group from SalesPerson; ComissionPct refers to commission percentage where ComissionPct > = 0.018;
Bike refers to the name of the product category, therefore ProductCategoryID = 1
Please list the total number of companies with a commission percentage of 0.018 or above, along with each company's assigned geographical location.
geographical location refers to group from SalesPerson; ComissionPct refers to commission percentage where ComissionPct > = 0.018;
salable product refers to FinishedGoodsFlag = 1; mountain product line refers to ProductLine = 'M'
Please list the total number of companies with a commission percentage of 0.018 or above, along with each company's assigned geographical location.
geographical location refers to group from SalesPerson; ComissionPct refers to commission percentage where ComissionPct > = 0.018;
profit = subtract(ListPrice, StandardCost); the depth the component from its parent refers to BOMLevel;
Please list the total number of companies with a commission percentage of 0.018 or above, along with each company's assigned geographical location.
geographical location refers to group from SalesPerson; ComissionPct refers to commission percentage where ComissionPct > = 0.018;
highest pay rate refers to MAX(Rate);
Please list the total number of companies with a commission percentage of 0.018 or above, along with each company's assigned geographical location.
geographical location refers to group from SalesPerson; ComissionPct refers to commission percentage where ComissionPct > = 0.018;
business number refers to BusinessEntityID where BusinessEntityID = 1496; how long does it take refers to AverageLeadTime
What is the forename and birthdate of person number 18?
person number 18 refers to BusinessEntityID = 18; forename refers to FirstName
Accountant is a job title; first hired = MIN(HireDate)
What is the forename and birthdate of person number 18?
person number 18 refers to BusinessEntityID = 18; forename refers to FirstName
current payrate refers to max(Rate); percentage increment = divide(subtract(max(Rate), min(Rate)), min(Rate))*100%
What is the forename and birthdate of person number 18?
person number 18 refers to BusinessEntityID = 18; forename refers to FirstName
product maintenance documents are private refers to DocumentSummary = null
What is the forename and birthdate of person number 18?
person number 18 refers to BusinessEntityID = 18; forename refers to FirstName
active employee refers to CurrentFlag = 1; Rate< = 30;
What is the forename and birthdate of person number 18?
person number 18 refers to BusinessEntityID = 18; forename refers to FirstName
Married refers to MaritalStatus = 'M';  non-sales employees refer to PersonType = 'EM'
What is the forename and birthdate of person number 18?
person number 18 refers to BusinessEntityID = 18; forename refers to FirstName
Purchase order with order quantity of 5000 or more refers to OrderQty> = 5000
What is the forename and birthdate of person number 18?
person number 18 refers to BusinessEntityID = 18; forename refers to FirstName
percentage = DIVIDE(Culture.Name = 'Thai', count(ALL Culture.Name))*100%
What is the forename and birthdate of person number 18?
person number 18 refers to BusinessEntityID = 18; forename refers to FirstName
product is manufactured in-house refers to MakeFlag = 1; salable product refers to FinishedGoodsFlag = 1;
What is the forename and birthdate of person number 18?
person number 18 refers to BusinessEntityID = 18; forename refers to FirstName
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';
What is the forename and birthdate of person number 18?
person number 18 refers to BusinessEntityID = 18; forename refers to FirstName
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%
What category do Road Frames fall into?
Road Frames is a name of product subcategory
Purchase order with order quantity of 5000 or more refers to OrderQty> = 5000
What category do Road Frames fall into?
Road Frames is a name of product subcategory
Full address refers to AddressLine1+AddressLine2; business number 24 refers to BusinessEntityID = '24'
What category do Road Frames fall into?
Road Frames is a name of product subcategory
most review refers to MAX(count(comments)); high class refers to Class = 'H'; medium class refers to Class = 'M'; low class refers to Class = 'L'
What category do Road Frames fall into?
Road Frames is a name of product subcategory
mountain product line refers to ProductLine = 'M'
What category do Road Frames fall into?
Road Frames is a name of product subcategory
thumbnail photo file refers to ThumbnailPhotoFileName;
What category do Road Frames fall into?
Road Frames is a name of product subcategory
Mauritius Rupee is name of currency
What category do Road Frames fall into?
Road Frames is a name of product subcategory
card that expires in 2007 refers to ExpYear = 2007;
What category do Road Frames fall into?
Road Frames is a name of product subcategory
Address number 15873 refers to AddressID = '15873'; IsOnlyStateProvinceCode = '0' refers to StateProvinceCode exists; IsOnlyStateProvinceCode = '1' refers to StateProvinceCode unavailable;
What category do Road Frames fall into?
Road Frames is a name of product subcategory
Headset Ball Bearings is name of a product
What category do Road Frames fall into?
Road Frames is a name of product subcategory
Night shift refers to Name = 'Night';
List all products with minimum order quantity of 100 and order them by product name in descending order.
miinimum order quantity refers to MinOrderQty = 100
located in the Subassembly category refers to Name = 'Subassembly'
List all products with minimum order quantity of 100 and order them by product name in descending order.
miinimum order quantity refers to MinOrderQty = 100
days to end a work order = SUBTRACT(ActualEndDate, ActualStartDate);
List all products with minimum order quantity of 100 and order them by product name in descending order.
miinimum order quantity refers to MinOrderQty = 100
approved refers to Status = 2; confidential document refers to DocumentSummary is null;
List all products with minimum order quantity of 100 and order them by product name in descending order.
miinimum order quantity refers to MinOrderQty = 100
highest rating refers to MAX(Rating)
List all products with minimum order quantity of 100 and order them by product name in descending order.
miinimum order quantity refers to MinOrderQty = 100
credit card number refers to CardNumber; employees who left the department refers to EndDate NOT null; Engineering Department is a name of department;
List all products with minimum order quantity of 100 and order them by product name in descending order.
miinimum order quantity refers to MinOrderQty = 100
website purchasing link refers to PurchasingWebServiceURL
List all products with minimum order quantity of 100 and order them by product name in descending order.
miinimum order quantity refers to MinOrderQty = 100
France territory refers to SalesTerritory.Name = 'France';
List all products with minimum order quantity of 100 and order them by product name in descending order.
miinimum order quantity refers to MinOrderQty = 100
least amount of workers refers to MIN(count(DepartmentID));
List all products with minimum order quantity of 100 and order them by product name in descending order.
miinimum order quantity refers to MinOrderQty = 100
not recommended refers to PreferredVendorStatus = 0;
List all products with minimum order quantity of 100 and order them by product name in descending order.
miinimum order quantity refers to MinOrderQty = 100
product number = productID
How much is the total bonus received by sales person and what is the percentage of it against the projected yearly sales quota in 2013?
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;
store contact refers to PersonType = 'SC';
How much is the total bonus received by sales person and what is the percentage of it against the projected yearly sales quota in 2013?
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;
highest rating refers to Rating = 5; high class refers to Class = 'H'; men's product refers to Style = 'M'
How much is the total bonus received by sales person and what is the percentage of it against the projected yearly sales quota in 2013?
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;
Employees who don't wish to receive e-mail promotions refers to EmailPromotion = 0;
How much is the total bonus received by sales person and what is the percentage of it against the projected yearly sales quota in 2013?
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;
vendor's selling price refers to StandardPrice
How much is the total bonus received by sales person and what is the percentage of it against the projected yearly sales quota in 2013?
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;
married employee refers to MaritalStatus = 'M'; less than 20 vacation hours refers to VacationHours<20
How much is the total bonus received by sales person and what is the percentage of it against the projected yearly sales quota in 2013?
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;
year of credit card expiration refers to ExpYear; ExpYear = 2007; store contact refers to PersonType = 'SC';
How much is the total bonus received by sales person and what is the percentage of it against the projected yearly sales quota in 2013?
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;
TransactionDate BETWEEN '2013-08-01' AND '2013-08-30'; sold in refers to TransactionType = 'S' which means SalesOrder;
How much is the total bonus received by sales person and what is the percentage of it against the projected yearly sales quota in 2013?
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;
actual resource hours of 2 refers to ActualResourceHrs = 2
How much is the total bonus received by sales person and what is the percentage of it against the projected yearly sales quota in 2013?
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;
net profit = Subtract(LastReceiptCost, StandardPrice);
How much is the total bonus received by sales person and what is the percentage of it against the projected yearly sales quota in 2013?
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;
shipping address = AddressLine1+AddressLine2+City;
What is the average profit of all the products from the Clothing category?
average profit = DIVIDE(SUM(SUBTRACT(ListPrice, StandardCost))), (COUNT(ProductSubcategoryID))));
weight in pounds refers to WeightUnitMeasureCode = 'LB';
What is the average profit of all the products from the Clothing category?
average profit = DIVIDE(SUM(SUBTRACT(ListPrice, StandardCost))), (COUNT(ProductSubcategoryID))));
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
What is the average profit of all the products from the Clothing category?
average profit = DIVIDE(SUM(SUBTRACT(ListPrice, StandardCost))), (COUNT(ProductSubcategoryID))));
maximum orders refers to MaxOrderQty; MaxOrderQty BETWEEN '500' AND '750'; profit on net = SUBTRACT(LastReceiptCost, StandardPrice);
What is the average profit of all the products from the Clothing category?
average profit = DIVIDE(SUM(SUBTRACT(ListPrice, StandardCost))), (COUNT(ProductSubcategoryID))));
Next-Door Bike Store is name of a store
What is the average profit of all the products from the Clothing category?
average profit = DIVIDE(SUM(SUBTRACT(ListPrice, StandardCost))), (COUNT(ProductSubcategoryID))));
salable product refers to FinishedGoodsFlag = 1; mountain product line refers to ProductLine = 'M'
What is the average profit of all the products from the Clothing category?
average profit = DIVIDE(SUM(SUBTRACT(ListPrice, StandardCost))), (COUNT(ProductSubcategoryID))));
Purchase order with order quantity of 5000 or more refers to OrderQty> = 5000
What is the average profit of all the products from the Clothing category?
average profit = DIVIDE(SUM(SUBTRACT(ListPrice, StandardCost))), (COUNT(ProductSubcategoryID))));
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';
What is the average profit of all the products from the Clothing category?
average profit = DIVIDE(SUM(SUBTRACT(ListPrice, StandardCost))), (COUNT(ProductSubcategoryID))));
employee exempt from collective bargaining refers to SalariedFlag = 1; highest pay rate refers to max(Rate)
What is the average profit of all the products from the Clothing category?
average profit = DIVIDE(SUM(SUBTRACT(ListPrice, StandardCost))), (COUNT(ProductSubcategoryID))));
Profit = AVG(SUBTRACT(ListPrice, StandardCost)>100
What is the average profit of all the products from the Clothing category?
average profit = DIVIDE(SUM(SUBTRACT(ListPrice, StandardCost))), (COUNT(ProductSubcategoryID))));
male refers to Gender = 'M'; female refers to Gender = 'F'; difference in average rate = DIVIDE(AVG(Rate where Gender = 'F')), (AVG(Rate where Gender = 'M'))) as diff;
What's the profit for the Freewheel?
SUBTRACT(LastReceiptCost, StandardPrice) for ProductID where name = 'Freewheel'
profit = SUBTRACT(ListPrice, StandardCost);
What's the profit for the Freewheel?
SUBTRACT(LastReceiptCost, StandardPrice) for ProductID where name = 'Freewheel'
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%
What's the profit for the Freewheel?
SUBTRACT(LastReceiptCost, StandardPrice) for ProductID where name = 'Freewheel'
full name = FirstName+MiddleName+LastName; Production Technician - WC50 is a job title;
What's the profit for the Freewheel?
SUBTRACT(LastReceiptCost, StandardPrice) for ProductID where name = 'Freewheel'
LL Road Frame Sale is a description of special offer
What's the profit for the Freewheel?
SUBTRACT(LastReceiptCost, StandardPrice) for ProductID where name = 'Freewheel'
active status of employees refers to CurrentFlag = 1;
What's the profit for the Freewheel?
SUBTRACT(LastReceiptCost, StandardPrice) for ProductID where name = 'Freewheel'
business number refers to BusinessEntityID where BusinessEntityID = 1496; how long does it take refers to AverageLeadTime
What's the profit for the Freewheel?
SUBTRACT(LastReceiptCost, StandardPrice) for ProductID where name = 'Freewheel'
Production Technicians refer to the  JobTitle = 'Production Technician%'; single refers to MaritalStatus = 'S'; Vendor contact refers to PersonType = 'VC'
What's the profit for the Freewheel?
SUBTRACT(LastReceiptCost, StandardPrice) for ProductID where name = 'Freewheel'
Sales and Marketing is group name of a department
What's the profit for the Freewheel?
SUBTRACT(LastReceiptCost, StandardPrice) for ProductID where name = 'Freewheel'
year of credit card expiration refers to ExpYear;
What's the profit for the Freewheel?
SUBTRACT(LastReceiptCost, StandardPrice) for ProductID where name = 'Freewheel'
employees who wish to receive e-mail promotions from AdventureWorks and selected partners refers to EmailPromotion = 2;
What is the percentage, by number of sales order units, for orders with quantities not greater than 3 and a discount of 0.2?
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%
Started selling in 2013 refers to year(SellStartDate) = 2013;
What is the percentage, by number of sales order units, for orders with quantities not greater than 3 and a discount of 0.2?
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%
average pay rate = AVG(Rate); work in 2007 refers to year(StartDate)<2007 AND year(EndDate)>2007;
What is the percentage, by number of sales order units, for orders with quantities not greater than 3 and a discount of 0.2?
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%
least amount of workers refers to MIN(count(DepartmentID));
What is the percentage, by number of sales order units, for orders with quantities not greater than 3 and a discount of 0.2?
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%
Alex refers to FirstName = 'Alex'; single refers to MaritalStatus = 'S'
What is the percentage, by number of sales order units, for orders with quantities not greater than 3 and a discount of 0.2?
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%
LL Road Frame Sale is a description of special offer
What is the percentage, by number of sales order units, for orders with quantities not greater than 3 and a discount of 0.2?
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%
salaried employee refers to SalariedFlag = 1; hired in 2007 and later refers to year(HireDate)> = 2007
What is the percentage, by number of sales order units, for orders with quantities not greater than 3 and a discount of 0.2?
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%
High quality refers to the product's quality class, therefore Class = 'H'
What is the percentage, by number of sales order units, for orders with quantities not greater than 3 and a discount of 0.2?
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%
TransactionDate BETWEEN '2013-08-01' AND '2013-08-30'; sold in refers to TransactionType = 'S' which means SalesOrder;
What is the percentage, by number of sales order units, for orders with quantities not greater than 3 and a discount of 0.2?
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%
work order transaction refers to TransactionType = 'W';
What is the percentage, by number of sales order units, for orders with quantities not greater than 3 and a discount of 0.2?
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%
Canada is name of a sales territory
How many employees with a pay rate of over 35 have more than 10 sick leave hours?
more than 10 sick leave hours refers to SickLeaveHours>10; pay rate over 35 refers to Rate>35;
in centimeter refers to SizeUnitMeasureCode = 'CM';
How many employees with a pay rate of over 35 have more than 10 sick leave hours?
more than 10 sick leave hours refers to SickLeaveHours>10; pay rate over 35 refers to Rate>35;
percentage = DIVIDE(SUM(Name = 'Night')), (COUNT(ShiftID)) as percentage;
How many employees with a pay rate of over 35 have more than 10 sick leave hours?
more than 10 sick leave hours refers to SickLeaveHours>10; pay rate over 35 refers to Rate>35;
Vista Card refers to CardType = 'Vista'; expire before the year 2007 refers to ExpYear< = 2006;
How many employees with a pay rate of over 35 have more than 10 sick leave hours?
more than 10 sick leave hours refers to SickLeaveHours>10; pay rate over 35 refers to Rate>35;
job position and job title are synonyms; full name = FirstName+MiddleName+LastName;
How many employees with a pay rate of over 35 have more than 10 sick leave hours?
more than 10 sick leave hours refers to SickLeaveHours>10; pay rate over 35 refers to Rate>35;
shipping cost and Freight are synonyms; highest shipping cost refers to MAX(Freight);
How many employees with a pay rate of over 35 have more than 10 sick leave hours?
more than 10 sick leave hours refers to SickLeaveHours>10; pay rate over 35 refers to Rate>35;
product with large photo refers to LargePhoto NOT null;
How many employees with a pay rate of over 35 have more than 10 sick leave hours?
more than 10 sick leave hours refers to SickLeaveHours>10; pay rate over 35 refers to Rate>35;
production technician is a job title; below average rate refers to Rate<AVG(Rate);
How many employees with a pay rate of over 35 have more than 10 sick leave hours?
more than 10 sick leave hours refers to SickLeaveHours>10; pay rate over 35 refers to Rate>35;
goods refers to products
How many employees with a pay rate of over 35 have more than 10 sick leave hours?
more than 10 sick leave hours refers to SickLeaveHours>10; pay rate over 35 refers to Rate>35;
not recommended refers to PreferredVendorStatus = 0;
How many employees with a pay rate of over 35 have more than 10 sick leave hours?
more than 10 sick leave hours refers to SickLeaveHours>10; pay rate over 35 refers to Rate>35;
minimum order quantity refers to MinOrderQty;
Calculate the average age of employee in each department and state which department has the youngest employees.
Average = Divide(Sum(Substract(year(@today),year(BirthDate))),Count(BusinessEntityID) by each Department ID; youngest employee refers to Min(BirthDate);
poor credit rating means bad credit; CreditRating = 5; Business number refers to BusinessEntityID
Calculate the average age of employee in each department and state which department has the youngest employees.
Average = Divide(Sum(Substract(year(@today),year(BirthDate))),Count(BusinessEntityID) by each Department ID; youngest employee refers to Min(BirthDate);
business number 1580 refers to BusinessEntityID = 1580; Net profit = SUBTRACT(LastReceiptCost,StandardPrice)
Calculate the average age of employee in each department and state which department has the youngest employees.
Average = Divide(Sum(Substract(year(@today),year(BirthDate))),Count(BusinessEntityID) by each Department ID; youngest employee refers to Min(BirthDate);
employees who wish to receive e-mail promotions from AdventureWorks and selected partners refers to EmailPromotion = 2;
Calculate the average age of employee in each department and state which department has the youngest employees.
Average = Divide(Sum(Substract(year(@today),year(BirthDate))),Count(BusinessEntityID) by each Department ID; youngest employee refers to Min(BirthDate);
Vista Card refers to CardType = 'Vista'; expire before the year 2007 refers to ExpYear< = 2006;
Calculate the average age of employee in each department and state which department has the youngest employees.
Average = Divide(Sum(Substract(year(@today),year(BirthDate))),Count(BusinessEntityID) by each Department ID; youngest employee refers to Min(BirthDate);
mountain product line refers to ProductLine = 'M'; highest average rating = max(divide(sum(Rating), count(ProductReview)))
Calculate the average age of employee in each department and state which department has the youngest employees.
Average = Divide(Sum(Substract(year(@today),year(BirthDate))),Count(BusinessEntityID) by each Department ID; youngest employee refers to Min(BirthDate);
proportion = DIVIDE(SUM(Name = 'UK')), (COUNT(SalesOrderID))) as count;
Calculate the average age of employee in each department and state which department has the youngest employees.
Average = Divide(Sum(Substract(year(@today),year(BirthDate))),Count(BusinessEntityID) by each Department ID; youngest employee refers to Min(BirthDate);
Sales and Marketing is group name of a department
Calculate the average age of employee in each department and state which department has the youngest employees.
Average = Divide(Sum(Substract(year(@today),year(BirthDate))),Count(BusinessEntityID) by each Department ID; youngest employee refers to Min(BirthDate);
shipping address = AddressLine1+AddressLine2+City;
Calculate the average age of employee in each department and state which department has the youngest employees.
Average = Divide(Sum(Substract(year(@today),year(BirthDate))),Count(BusinessEntityID) by each Department ID; youngest employee refers to Min(BirthDate);
highest rating refers to Rating = 5; profit = SUBTRACT(ListPrice, StandardCost);
Calculate the average age of employee in each department and state which department has the youngest employees.
Average = Divide(Sum(Substract(year(@today),year(BirthDate))),Count(BusinessEntityID) by each Department ID; youngest employee refers to Min(BirthDate);
product number = productID
Which geographic area does the city with the second lowest tax rate belongs to? Indicate the name of the state or province as well.
geographic area to which the city belong refers to Group;
Facilities Manager is a job title
Which geographic area does the city with the second lowest tax rate belongs to? Indicate the name of the state or province as well.
geographic area to which the city belong refers to Group;
Canada is name of a sales territory
Which geographic area does the city with the second lowest tax rate belongs to? Indicate the name of the state or province as well.
geographic area to which the city belong refers to Group;
percentage = DIVIDE(Culture.Name = 'Thai', count(ALL Culture.Name))*100%
Which geographic area does the city with the second lowest tax rate belongs to? Indicate the name of the state or province as well.
geographic area to which the city belong refers to Group;
lowest pay refers to min(Rate);