Skip to content

Instantly share code, notes, and snippets.

@AkiraYuuji
Created May 17, 2019 07:33
Show Gist options
  • Save AkiraYuuji/25cac905c35e87a86d55c662757b9c55 to your computer and use it in GitHub Desktop.
Save AkiraYuuji/25cac905c35e87a86d55c662757b9c55 to your computer and use it in GitHub Desktop.
SELECT name FROM employees WHERE id NOT IN(SELECT managerId FROM employees WHERE managerId IS NOT NULL)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment