Question: How many departments are led by heads who are not mentioned?
Schema: create table management (department_id varchar, PRIMARY KEY (department_id)); create table department (department_id varchar, PRIMARY KEY (department_id))
SQL: select count(*) from department where not department_id in (select department_id from management)