Database: department_management
Question: Which department has more than 1 head at a time? List the id, name and the number of heads.
SQL:
SELECT T1.department_id ,  T1.name ,  count(*) FROM management AS T2 JOIN department AS T1 ON T1.department_id  =  T2.department_id GROUP BY T1.department_id HAVING count(*)  >  1