The document contains 6 queries: 1) Counts employees earning more than the average annual salary. 2) Counts employees earning more than 1.5 times the average salary. 3) Sums the annual salaries of employees whose name starts with C. 4) Sums the annual salaries of employees earning more than average. 5) Categorizes employees by age range. 6) Finds the 10th maximum value of the sum of amounts spent on travel grouped by age and gender.
The document contains 6 queries: 1) Counts employees earning more than the average annual salary. 2) Counts employees earning more than 1.5 times the average salary. 3) Sums the annual salaries of employees whose name starts with C. 4) Sums the annual salaries of employees earning more than average. 5) Categorizes employees by age range. 6) Finds the 10th maximum value of the sum of amounts spent on travel grouped by age and gender.
The document contains 6 queries: 1) Counts employees earning more than the average annual salary. 2) Counts employees earning more than 1.5 times the average salary. 3) Sums the annual salaries of employees whose name starts with C. 4) Sums the annual salaries of employees earning more than average. 5) Categorizes employees by age range. 6) Finds the 10th maximum value of the sum of amounts spent on travel grouped by age and gender.
Count({$<AnnualSalary={">$(salary_cuttoff)"}>} AnnualSalary) Name starts with C Sum({$ <EmployeeName={"= WildMatch(EmployeeName,'c*')=1"}>} AnnualSalary) Sum({$ <EmployeeName={"= EmployeeName like 'C*'"}>} AnnualSalary)
Total amount paid to those earning more
than average Sum({$<AnnualSalary={"=AnnualSalary >= Avg(total AnnualSalary)"}>} AnnualSalary) IF(Age <=25, '25 and less', IF(Age >= 25 and Age < 30, '26 - 30', IF(Age >= 30 and Age < 40, '30 - 40', IF(Age >= 40 and Age < 50, '40 - 50', IF(Age >= 50 and Age < 60, '50 - 60', '60+'))))) Find the 10th maximum value. Max(Aggr(sum( [Amount Spent on Travel]),Age,Gender),10).