Created
January 17, 2019 08:50
-
-
Save yohangdev/6723cfdd492ab4f62d63e1a5963c18ce to your computer and use it in GitHub Desktop.
SQL #2 - Workers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT a.name FROM employees a WHERE a.id NOT IN (SELECT b.managerId FROM employees b WHERE b.managerId IS NOT NULL); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment