MYSQL SOLUTION | CASE STATMENT | EASY UNDERSTANDING | FASTER THAN 70%
\nupdate SALARY\nSET SEX = CASE WHEN SEX = \'m\' THEN \'f\' \n               WHEN sex = \'f\' THEN \'m\' \n          END\n\n\n**VOTE UP IF IT USEFULL **
```\nupdate SALARY\nSET SEX = CASE WHEN SEX = \'m\' THEN \'f\' \n               WHEN sex = \'f\' THEN \'m\' \n          END\n```\n\n**VOTE UP IF IT USEFULL **
['MySQL', 'Oracle']