Unique solution  with quick answer in SSMS using function
Bold# Intuition\n Describe your first thoughts on how to solve this problem. \nSSMS Function \n# Approach\n Describe your approach to solving the problem. \nuse
**Bold**# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\nSSMS Function \n# Approach\n<!-- Describe your approach to solving the problem. -->\nused iif function simple and quick\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```\n/* Write your T-SQL query statement below */\nupdate salary set sex=iif(sex=\'m\',\'f\',\'m\')\n```
['MS SQL Server']