update employees e set salary = (select avg(salary) from employees where departmentid = e.departmentid) where employeeid = 110