Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started