Guest User

Untitled

a guest
Jan 19th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. SELECT name from employees WHERE managerId IS NOT NULL AND id NOT IN (SELECT DISTINCT(managerId) from employees WHERE managerId IS NOT NULL);
Add Comment
Please, Sign In to add comment