Download presentation
Presentation is loading. Please wait.
Published byJack Chase Modified over 9 years ago
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)
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.