SELECT department_id FROM staff_department_assignments GROUP BY department_id ORDER BY count(*) LIMIT 1
What is the id of the department with the least number of staff?
SELECT department_id FROM staff_department_assignments GROUP BY department_id ORDER BY count ( * ) LIMIT 1
select department_id from staff_department_assignments group by department_id order by count ( * ) limit value
What is the id of the department with the least number of staff ?