Skip to content

Instantly share code, notes, and snippets.

@fatadz
Created May 12, 2019 09:22
Show Gist options
  • Save fatadz/30b536c85642f03e634b3a4e48343570 to your computer and use it in GitHub Desktop.
Save fatadz/30b536c85642f03e634b3a4e48343570 to your computer and use it in GitHub Desktop.
BE_SQL #2
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