Answers for "how to write an sql update statement"

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 "how to write an sql update statement"

Code answers related to "SQL"

Browse Popular Code Answers by Language