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.
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.