select department,max(salary),min(salary)
from employees
where year=2014
group by department