Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Write only the SQL statement that solves the problem and nothing else.
- select name from employees where id NOT IN (select distinct managerId from employees where managerId is not null)
Add Comment
Please, Sign In to add comment