mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
5 lines
89 B
MySQL
5 lines
89 B
MySQL
|
update salary set sex = case sex
|
||
|
when 'f' then 'm'
|
||
|
when 'm' then 'f'
|
||
|
end
|