Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT man.FIRST_NAME, COUNT(*)
- FROM employees e JOIN employees man ON e.MANAGER_ID = man.EMPLOYEE_ID
- GROUP BY man.FIRST_NAME
- ORDER BY count(*) ASC
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement