Introduction To SQL - 2: Saturday 22,2001
Introduction To SQL - 2: Saturday 22,2001
Introduction to SQL - 2
Saturday 22,2001
INSERT Statement
Syntax
UPDATE table
SET column = value [, column = value , ….]
[WHERE condition];
SET clause
– used to specify the name of columns where values to be
changed and new values for those columns
– another form of set clause is:
SET ( column, column,..) = ( subquery )
– in this case number of columns mentioned on left side must
equal to the number of columns returned by subquery
– if where clause is omitted all rows will be updated
DELETE Statement
Syntax