SELECT DISTINCT department_id FROM employees GROUP BY department_id ,  manager_id HAVING COUNT(employee_id)  >= 4
What are department ids for departments with managers managing more than 3 employees?
SELECT DISTINCT department_id FROM employees GROUP BY department_id , manager_id HAVING COUNT ( employee_id ) > = 4
select distinct department_id from employees group by department_id , manager_id having count ( employee_id ) > = value
What are department ids for departments with managers managing more than 3 employees ?