Be careful when updating records. If we omit the WHERE clause, ALL records will be updated:
Example
UPDATE Customers
SET ContactName='Juan';


WHERE Country='Mexico' will update all records which have the value "Mexico" in the field "Country".
UPDATE Customers
SET ContactName='Alfred Schmidt', City='Frankfurt'
WHERE CustomerID=1;
Try it Yourself »

