Advertisement
Guest User

Untitled

a guest
May 23rd, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. select
  2. name
  3. from
  4. employees
  5. where
  6. id not in (
  7. select distinct(managerId)
  8. from employees
  9. where managerId is not null
  10. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement