Answers for "update query sql syntax"

SQL
0

sql update

/*Swap f to m and m to f*/
UPDATE salary
SET
    sex = CASE sex
        WHEN 'm' THEN 'f'
        ELSE 'm'
    END;
Posted by: Guest on February-07-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language