a guest May 22nd, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Write only the SQL statement that solves the problem and nothing else.
  2. SELECT name FROM employees
  3. WHERE id NOT IN (SELECT managerId FROM employees WHERE managerId IS NOT NULL);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand