SHARE
TWEET

Untitled

a guest May 24th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SELECT
  2.     name
  3. FROM
  4.     employees
  5. WHERE
  6.     id NOT IN (
  7.         SELECT
  8.             a.`id`
  9.         FROM
  10.             `employees` a
  11.         INNER JOIN employees b ON a.id = b.managerId
  12.     );
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
 
Top