Presentation is loading. Please wait.

Presentation is loading. Please wait.

Jennifer Widom SQL Data Modification Statements. Jennifer Widom Insert Into Table Values(A 1,A 2,…,A n ) SQL: Modifications Inserting new data (2 methods)

Similar presentations


Presentation on theme: "Jennifer Widom SQL Data Modification Statements. Jennifer Widom Insert Into Table Values(A 1,A 2,…,A n ) SQL: Modifications Inserting new data (2 methods)"— Presentation transcript:

1 Jennifer Widom SQL Data Modification Statements

2 Jennifer Widom Insert Into Table Values(A 1,A 2,…,A n ) SQL: Modifications Inserting new data (2 methods) Insert Into Table Select-Statement

3 Jennifer Widom Delete From Table Where Condition SQL: Modifications Deleting existing data

4 Jennifer Widom SQL: Modifications Updating existing data Update Table Set Attr = Expression Where Condition

5 Jennifer Widom SQL: Modifications Updating existing data Update Table Set A 1 =Expr 1,A 2 =Expr 2,…,A n =Expr n Where Condition Demo: simple college admissions database College(cName,state,enrollment) Student(sID,sName,GPA,sizeHS) Apply(sID,cName,major,decision)


Download ppt "Jennifer Widom SQL Data Modification Statements. Jennifer Widom Insert Into Table Values(A 1,A 2,…,A n ) SQL: Modifications Inserting new data (2 methods)"

Similar presentations


Ads by Google