Skip to content

Instantly share code, notes, and snippets.

@shintack
Created May 12, 2019 04:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shintack/2d3e7be4bbcf132de961caa3b1d54a8f to your computer and use it in GitHub Desktop.
Save shintack/2d3e7be4bbcf132de961caa3b1d54a8f to your computer and use it in GitHub Desktop.
Workers
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