Database: hr_1
Question: What are total salaries and department id for each department that has more than 2 employees?
SQL: select department_id ,  sum(salary) from employees group by department_id having count(*)  >=  2