
































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

































The Relational Data Model
The Relational Data Model
Codd, Edgar F. "A relational model of data for large shared data banks." Communications of the ACM 13.6 (1970): 377-387. The Relational Data Model “Future users of large data banks must be protected from having to know how the data is organized in the machine (the internal representation)… Activities of users at terminals and most application programs should remain unaffected when the internal representation of data is changed and even when some aspects of the external representation are changed…”
A relation consists of… i. its schema , describing structure ii. its state , or current populated data The Relational Data Model
The Relational Data Model
The Relational Data Model
|dom(T eam)| ⇥ |dom(Size)| ⇥ |dom(Color)| 5 ⇥ 4 ⇥ 6 120 The Relational Data Model
The Relational Data Model
Categories of restrictions on data in a relational database
Within each tuple, the value of each attribute A must be an atomic value from the domain dom(A) Schema must dictate whether or not a NULL value is allowed for each attribute More later on standard data types in SQL The Relational Data Model N U LL ? 2 dom(A)
A key is a set of attribute(s) satisfying two properties: