Question: 1 . Write / run the SQL statement that would display the average salary of the employees grouped by the column: department _ id (
Writerun the SQL statement that would display the average salary of the employees grouped by the column: departmentid that is the department which they work...so we are finding the average salary by department.
The output should display the departments ids and the average salaries for each department.
Writerun the SQL statement that would display the average salary of the employees grouped by the manager they report to the manageridThe output should display the managerids and the average salaries for each manager id
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
