Solution using ASCII code
\nupdate salary set sex = char(211-ascii(sex))\n\n\nascii(\'f\') = 102\nascii(\'m\') = 109
```\nupdate salary set sex = char(211-ascii(sex))\n```\n\nascii(\'f\') = 102\nascii(\'m\') = 109
[]