UPDATE SET

Modify existing rows

Mutation

SQL

UPDATE users SET email = '[email protected]' WHERE id = 1;

What each clause does

UPDATE identifies the table. SET assigns new values to columns. WHERE limits which rows are modified.

Related tools

Other SQL examples