OJ-Problems-Source/LeetCode/627.sql

5 lines
89 B
SQL

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