Name
UPDATE
Synopsis
UPDATEtable
SETcolumn
=value
, ... [WHEREclause
]
Alters data within a table. This statement is used to change actual data within a table without altering the table itself.
Example
# Change the name 'John Deo' to 'John Doe' everywhere in the people table. UPDATE people SET name='John Doe' WHERE name='John Deo'
Get MySQL and mSQL now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.