This shows you the differences between two versions of the page.
— |
kurs:update [2014/09/10 21:22] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <code> | ||
+ | update emp_copy set bonus = salary * | ||
+ | (case when salary < 5000 then 0.2 | ||
+ | when salary < 10000 then 0.1 | ||
+ | else 0 | ||
+ | end) | ||
+ | </code> |