Task: Text to Code
Input (English): SQL: SELECT T1.SSN FROM Physician AS T1 JOIN Appointment AS T2 ON T1.EmployeeID = T2.Physician GROUP BY T2.Physician ORDER BY Count ( * ) Asc LIMIT 1
Feedback: Find employee id of physician physician who is head of department department with smallest number of employee .
Output (English): SELECT head FROM department GROUP BY departmentID ORDER BY count(departmentID) LIMIT 1