Leetcode - 627. Swap Salary
문제
정답
UPDATE Salary
SET sex = replace(sex, 'm', 'x'),
sex = replace(sex, 'f', 'm'),
sex = replace(sex, 'x', 'f')
UPDATE Salary
SET sex = replace(sex, 'm', 'x'),
sex = replace(sex, 'f', 'm'),
sex = replace(sex, 'x', 'f')