---涨工资
UPDATE temp_salary T
SET T.SALARY = T.SALARY + (CASE T.POSITON
WHEN '总裁' THEN
300
WHEN '经理' THEN
200
ELSE
100
END);
COMMIT;
UPDATE temp_salary T
SET T.SALARY = T.SALARY + (CASE T.POSITON
WHEN '总裁' THEN
300
WHEN '经理' THEN
200
ELSE
100
END);
COMMIT;
2016-12-26