UPDATE

Published July 26, 2025 By Sai Sree Ram Gundepudi

UPDATE Statement

Used to change existing data in one or more rows.

UPDATE employees
SET salary = salary + 1000
WHERE department_id = 10;

Always use a WHERE clause to avoid updating all rows unintentionally.

Was this solution helpful?

Your feedback helps improve our technical knowledge repository.

Share this article