I am trying to swap the value from m to f, while executing following query, Getting Syntax error
UPDATE GenderSET sex = CASE sex WHEN 'm' THEN 'f' ELSE 'm' END
I am trying to swap the value from m to f, while executing following query, Getting Syntax error
UPDATE GenderSET sex = CASE sex WHEN 'm' THEN 'f' ELSE 'm' END