先join 获奖emp_no到工资表, 然后更新工资
update salaries as s join emp_bonus as e
on s.emp_no=e.emp_noset salary = salary*1.1
where to_date='9999-01-01';
update salaries
set salary=salary*1.1
where to_date='9999-01-01'
and emp_no in (select emp_no from emp_bonus);