update salaries set salary=salary*1.1 where emp_no in
(select emp_no from emp_bonus) and to_date='9999-01-01'
update salaries set salary = 1.1*salary where emp_no in (select emp_no from emp_bonus) and to_date = '9999_01_01'
update salaries set salary = 1.1*salary where emp_no in (select emp_no from emp_bonus) and to_date = '9999_01_01'