Sql: how to update data in a table?
Example:
UPDATE users SET email = 'new.email@example.com' WHERE id = 1;
The UPDATE statement is used to modify existing records in a table.
Solution:
UPDATE users SET email = 'updated.email@example.com', username = 'newUsername' WHERE id = 1;