Question: 1 . Write / run the SQL statement that would display the average salary of the employees grouped by the column: department _ id (

1. Write/run the SQL statement that would display the average salary of the employees grouped by the column: department_id (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.
2. Write/run the SQL statement that would display the average salary of the employees grouped by the manager they report to (the manager_id).The output should display the manager_ids 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 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 Programming Questions!