Departments With No Employees

Return the name of every department that has no employees at all.

Order by name.

A warning. The shortest answer here is WHERE id NOT IN (SELECT department_id FROM employee), and it returns zero rows against this data. Finding out why is the problem.

Expected output


name
--------
Archive
Research
PostgreSQL

Press Run to start the SQL engine.

SensAI
Beta
Tap the mic to stop voice mode