SELECT department_id ,  SUM(salary) FROM employees GROUP BY department_id HAVING count(*)  >=  2
display the department id and the total salary for those departments which contains at least two employees.
SELECT department_id , SUM ( salary ) FROM employees GROUP BY department_id HAVING count ( * ) > = 2
select department_id , sum ( salary ) from employees group by department_id having count ( * ) > = value
display the department id and the total salary for those departments which contains at least two employees .