Advertisement
Guest User

Untitled

a guest
Mar 24th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. select d.DEPT_NAME,
  2. j.JOB_TITLE,
  3. e.EMP_FIRSTNAME + ' , ' + e.EMP_LASTNAME Employee_Name,
  4. count(s.EMP_ID) total_number_salaries,
  5. sum(s.SALARY_VALUE) total_amount_salaries,
  6. from
  7. salary s ,
  8. EMPLOYEE e ,
  9. DEPARTMENT d ,
  10. JOB j
  11. where e.EMP_ID = s.EMP_ID
  12. and e.DEPT_ID = d.DEPT_ID
  13. and j.JOB_ID = e.JOB_ID
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement