sql set
snippet in sql

sql update query

user1558

--update query example
 UPDATE table_name
 SET column1 = value1, column2 = value2, ...
 WHERE condition; 

modifier une valeur sql

user7087

UPDATE table
SET nom_colonne_1 = 'nouvelle valeur'
WHERE condition

sql update record

user654

SQL> UPDATE CUSTOMERS
SET ADDRESS = 'Pune'
WHERE ID = 6;

sql set

user1894

Used alongside UPDATE to update existing data in a table.
Example: Updates the value and quantity values for an order with an id of
642 in the orders table.
UPDATE orders
SET value = 19.49, quantity = 2
WHERE id = 642;