Simple Solution Using IF
Syntax of IF Statement --\n\nIF(condition , value_if_true , value_if_false);\n\n\nCode for the problem\n\nUPDATE Salary\nSET sex = IF(sex = \'m\' , \'f\' , \'m\
Syntax of IF Statement --\n```\nIF(condition , value_if_true , value_if_false);\n```\n\nCode for the problem\n```\nUPDATE Salary\nSET sex = IF(sex = \'m\' , \'f\' , \'m\');\n```
[]