Task: Text to Code
Input (English): Return the id of the department with the fewest staff assignments.
Output (English): SELECT department_id FROM staff_department_assignments GROUP BY department_id ORDER BY count(*) LIMIT 1