Task: Text to Code
Input (English): SQL: SELECT DEPARTMENT_ID FROM departments GROUP BY DEPARTMENT_ID HAVING Count ( * ) > = 4
Feedback: Replace department id in departments table with manager id in employees table . find distinct value of department id .
Output (English): SELECT DISTINCT department_id FROM employees GROUP BY department_id ,  manager_id HAVING COUNT(employee_id)  >= 4