Lab-6 Aggregate Functions
1. Create a SQL query to get the job ID and maximum salary of the employees where maximum salary is greater than or equal to $6000
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 (job 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.