The UPDATE statement is used to modify the existing records in a table.
UPDATE table_name
SET column1 = value1, column2 = value2, ...
WHERE condition;Warning! Be careful when updating records. If you omit the WHERE clause, ALL records will be updated!
Edit the code below and click Run to see the result live.