MySQL Clean Solution | 100% Beat
Code\n\n# Write your MySQL query statement below\nUPDATE Salary \nSET sex = (CASE WHEN sex=\'f\' THEN \'m\' ELSE \'f\' END);\n\n\n-- UPDATE Salary SET sex = \n-
# Code\n```\n# Write your MySQL query statement below\nUPDATE Salary \nSET sex = (CASE WHEN sex=\'f\' THEN \'m\' ELSE \'f\' END);\n\n\n-- UPDATE Salary SET sex = \n-- CASE sex\n--     WHEN \'f\' THEN \'m\' \n--     ELSE \'f\' \n-- END;\n```
['Database', 'MySQL']