题解 | #将所有获取奖金的员工当前的薪水增加10%#
将所有获取奖金的员工当前的薪水增加10%
http://www.nowcoder.com/practice/d3b058dcc94147e09352eb76f93b3274
update salaries set salary=salary*1.1
where salaries.to_date='9999-01-01' and
salaries.emp_no in (select emp_no from emp_bonus)
将所有获取奖金的员工当前的薪水增加10%
http://www.nowcoder.com/practice/d3b058dcc94147e09352eb76f93b3274
update salaries set salary=salary*1.1
where salaries.to_date='9999-01-01' and
salaries.emp_no in (select emp_no from emp_bonus)
相关推荐