The employees table has 10 rows. manager_id is NULL for the CEO row. Why does this query return 0 rows instead of the expected non-managers?
SELECT name FROM employees WHERE id NOT IN (SELECT manager_id FROM employees);
← → arrow keys to navigate
Sign in to save your progress.