Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT departments.DEPARTMENT_NAME, employees.DEPARTMENT_ID,
- employees.JOB_ID,SUM(SALARY)
- FROM employees JOIN departments ON employees.DEPARTMENT_ID = departments.DEPARTMENT_ID
- GROUP BY employees.DEPARTMENT_ID
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement