Question: Q. Write a SQL statement, which show all the department ids, the department names as well as the sum of all the salaries in each
Q. Write a SQL statement, which show all the department ids, the department names as well as the sum of all the salaries in each department.
(department id and department name are in table departments and salary is in table employees).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
