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