Schema: 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.
SQL: SELECT department_id, SUM(salary) FROM employees GROUP BY department_id HAVING COUNT(*) >= 2