Skip to content

Instantly share code, notes, and snippets.

@andreaschrist27
Created January 18, 2019 08:39
Show Gist options
  • Save andreaschrist27/219f56d1034bcaf9bd204e517b402191 to your computer and use it in GitHub Desktop.
Save andreaschrist27/219f56d1034bcaf9bd204e517b402191 to your computer and use it in GitHub Desktop.
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