Professional Documents
Culture Documents
Superkey: An Attribute or Set of Attributes That: Uniquely Identifies An Entity
Superkey: An Attribute or Set of Attributes That: Uniquely Identifies An Entity
Keys (Cont.)
Existence Dependency
A type of constraint
Entity Y is existence dependent on entity X is each
instance of Y must have a corresponding instance of X
This means Y can not exist without X
If Y does not have its own candidate key, Y is called a
weak entity, and X is strong entity
Identifier Dependency
Occur when the weak entity does not have a candidate key and its
instances are indistinguishable without relationship with other entity
Referential Dependency
Weak entity has a candidate key. Weak entity contains a F.K (the P.K of
strong entity)
Specialization
Specialization-needed
special attributes
Process
AdjunctFac
FullTimeFac
have annualSalary
Representing Specialization
ER
Representing Specialization
Specialization
Representing Specialization
Generalization
Inverse of specialization
Recognizing that classes have common properties and identifying a superclass for them
Ex. Student and Faculty are both people