Skip to content

Instantly share code, notes, and snippets.

@akatgelar
Created January 17, 2019 08:29
Show Gist options
  • Save akatgelar/3da660861cb26d63cd6579bef16c9136 to your computer and use it in GitHub Desktop.
Save akatgelar/3da660861cb26d63cd6579bef16c9136 to your computer and use it in GitHub Desktop.
SELECT employees.name
FROM employees
WHERE employees.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