https://leetcode.com/problems/swap-salary/description/ Easy

Решение

UPDATE Salary
SET sex = CASE
    WHEN sex = 'm' THEN 'f'
    ELSE 'm'
END;