Which department has more than 1 head at a time? List the id, name and the number of heads.
create table management (department_id varchar, PRIMARY KEY (department_id)); create table department (department_id varchar, name varchar, PRIMARY KEY (department_id))
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