UPDATE
Update gives you a way to modify individual attributes of a single tuple, a group of tuples, or a whole table (or view).
Format:
UPDATE table/view SET col-name = {value | expression} [col-name = value | subquery,...] [WHERE update_criteria];
You can only update tuples already present in the table (i.e., you cannot use UPDATE to add new tuples). You can either UPDATE one table at a time. You don't have to know the present value of a field to set it (although you can refer to it in the "expression" clause). The expression cannot be a sub-query or involve aggregate operations.
Komentar 0