OJ-Problems-Source/LeetCode-CN/627.sql
2018-06-20 23:13:21 +08:00

5 lines
89 B
SQL

update salary set sex = case sex
when 'f' then 'm'
when 'm' then 'f'
end