Answers for "updating sql table"

SQL
6

sql update record

SQL> UPDATE CUSTOMERS
SET ADDRESS = 'Pune'
WHERE ID = 6;
Posted by: Guest on June-04-2020
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