update

SQL UPDATE Statement

SQL UPDATE Statement

The UPDATE statement is used to modify existing records in a table.

Example of UPDATE

UPDATE Employees
SET salary = 70000
WHERE employee_id = 1;
    

This query updates the salary of the employee with employee_id 1 to 70,000.