变更性别

SET

UPDATE
  salary
SET sex = IF(sex = 'm', 'f', 'm')