What is the id of the department with the least number of staff?
CREATE TABLE staff_department_assignments (department_id VARCHAR)
SELECT TOP 1 department_id FROM staff_department_assignments GROUP BY department_id ORDER BY COUNT(*)
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE staff_department_assignments (department_id VARCHAR) Question: What is the id of the department with the least number of staff? [/INST] SELECT TOP 1 department_id FROM staff_department_assignments GROUP BY department_id ORDER BY COUNT(*) </s>