Easy way
Intuition\n\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Tim
# Intuition\n![1.png](https://assets.leetcode.com/users/images/f9206403-8d9a-4d8f-a5fa-556699c00b5b_1700937085.9802105.png)\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nUPDATE Salary\nSET sex = \nCASE \nWHEN sex = \'f\' THEN \'m\'\nELSE \'f\'\nEND;\n```
['MySQL', 'MS SQL Server']