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 AS e1 WHERE id NOT IN
- (
- SELECT managerId FROM employees AS e2 WHERE e1.id = e2.managerId
- );
Add Comment
Please, Sign In to add comment