1. 显示工资涨幅,员工编号,原来的工资和增长的工资: 部门号十、50、110的有5%的涨幅, 部门号为60的涨10%的工资部门号为20和80涨幅为15%,部门为90的不涨工资

SELECT * FROM ( select 'raise 5%' raise,e.employee_id as employee_id,e.salary,e.salary*0.05 as newsalary from employees e where e.department_id in (10,50,110)) UNION ALL SELECT * FROM
相关文章
相关标签/搜索