02 - Relational Model
02 - Relational Model
➢ Standards:
◦ SQL-86
◦ SQL-89 (minor revision)
◦ SQL-92 (major revision, current standard)
◦ SQL-99 (major extensions)
DELETE
FROM Students S
WHERE S.name = ‘Baggins’
UPDATE Students S
SET S.name = ‘Bilbo’
WHERE S.sid = ‘e145323’
UPDATE Students S
SET S.age = S.age + 1, S.gpa = S.gpa –1
WHERE S.age > 20 AND S.gpa > 3.0
➢ Key and foreign key ICs are the most common; more
general ICs supported too.
Ahmet Serkan Karataş
CEng 301 – Database Management Systems – Relational Model 19