CSE303 Lecture05-06 ERD02 2023
CSE303 Lecture05-06 ERD02 2023
CSE Science
t of &Engineering
Lecture 05-06
CSE 303: Database Management
System
Relationships
● Relationship Types vs. Relationship Instances
● A meaningful association between (or among) entity
types.
● An association between (or among) entity instances
where each relationship instance associates exactly
one entity instance from each participating entity
type.
● Relationships can have attributes
● These describe features pertaining to the association between
the entities in the relationship
Relationship instances
Degree of Relationships
● Degree of a Relationship is the number of entity
Mandatory Optional
One One
Mandatory Optional
Many Many
Cardinality constraints in a ternary relationship
Modeling Time-Dependent Data
● Time stamp A time value that is associated with a
● optional participation.