Context: CREATE TABLE employees (department_id VARCHAR, salary INTEGER)
Question: display the department id and the total salary for those departments which contains at least two employees.
Answer: SELECT department_id, SUM(salary) FROM employees GROUP BY department_id HAVING COUNT(*) >= 2