CREATE TABLE management (department_id VARCHAR); CREATE TABLE department (department_id VARCHAR)
How many departments are led by heads who are not mentioned?
SELECT COUNT(*) FROM department WHERE NOT department_id IN (SELECT department_id FROM management)