UPDATE table SET field = newvalue [WHERE wherepredicate]
The parts of this statement have the following meaning:
Part | Meaning |
table | The table to be updated |
field | The field to be updated |
newvalue | An expression that is data compatible with field |
wherepredicate | A predicate limiting the data to be updated. |
NOTE:
UPDATE Prices SET Cost = Cost * 1.25 WHERE ProductType = "Cereal"