1--update query example
2 UPDATE table_name
3 SET column1 = value1, column2 = value2, ...
4 WHERE condition;
1Used alongside UPDATE to update existing data in a table.
2Example: Updates the value and quantity values for an order with an id of
3642 in the orders table.
4UPDATE orders
5SET value = 19.49, quantity = 2
6WHERE id = 642;