How many departments are led by heads who are not mentioned?
CREATE TABLE management (department_id VARCHAR); CREATE TABLE department (department_id VARCHAR)
SELECT COUNT(*) FROM department WHERE NOT department_id IN (SELECT department_id FROM management)
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE management (department_id VARCHAR); CREATE TABLE department (department_id VARCHAR) Question: How many departments are led by heads who are not mentioned? [/INST] SELECT COUNT(*) FROM department WHERE NOT department_id IN (SELECT department_id FROM management) </s>