Question: Lab - 6 Aggregate Functions 1. Create a SQ 2 Create a sQL query to get the average salary for all departments employing more than

 Lab - 6 Aggregate Functions 1. Create a SQ 2 Create

Lab - 6 Aggregate Functions 1. Create a SQ 2 Create a sQL query to get the average salary for all departments employing more than 10 employees 3 Create SQL a query to get the total salary, maximum, minimum, average salary of employees (ob ID wise), for department ID 147 only. 4. Write a query to get the average salary for each job ID excluding SA REP 5. Write a query to find the manager ID and the salary of the highest-paid employee for that manager L query to get the job ID and maximum salary of the employees where maximum salary is greater than or equal to $6000 Lab - 6 Aggregate Functions 1. Create a SQ 2 Create a sQL query to get the average salary for all departments employing more than 10 employees 3 Create SQL a query to get the total salary, maximum, minimum, average salary of employees (ob ID wise), for department ID 147 only. 4. Write a query to get the average salary for each job ID excluding SA REP 5. Write a query to find the manager ID and the salary of the highest-paid employee for that manager L query to get the job ID and maximum salary of the employees where maximum salary is greater than or equal to $6000

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!