The UPDATE statement is used to modify the existing records in a table:
mysql> UPDATE customers SET first_name='Rajiv', country='UK' WHERE id=4;Query OK, 1 row affected (0.00 sec)Rows matched: 1 Changed: 1 Warnings: 0
WHERE: This is the clause used for filtering. Whatever condition(s) are issued after the WHERE clause are evaluated and the filtered rows are updated.