Docsity

study guide fore exam 2, Exercises of Advanced Data Analysis

Toggle sidebar
bg1
exam 2 notes
Participation Constraints
o Total participation means every entity must participate (shown
with double line).
o Partial participation means only some entities participate (shown
with single line).
Impacts how foreign keys are defined – total participation often
requires NOT NULL constraints.
Derived Attributes
o Attributes that can be computed from other attributes.
Not stored directly in the database; derived on demand.
EX: Age can be derived from DateOfBirth.
• Do not include derived attributes in the relational schema.

Partial preview of the text

Download study guide fore exam 2 and more Exercises Advanced Data Analysis in PDF only on Docsity!

exam 2 notes Participation Constraints o Total participation means every entity must participate (shown with double line). o Partial participation means only some entities participate (shown with single line).  Impacts how foreign keys are defined – total participation often requires NOT NULL constraints. Derived Attributes o Attributes that can be computed from other attributes.  Not stored directly in the database; derived on demand.  EX: Age can be derived from DateOfBirth.

  • Do not include derived attributes in the relational schema.