OJ-Problems-Source/LeetCode/627_jzf.sql

3 lines
71 B
SQL

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