return the smallest salary for every departments.
SELECT MIN(salary) ,  department_id FROM employees GROUP BY department_id
smallest salary for every department refers to MIN(salary) GROUP BY department_id;