Lecture 3
Lecture 3
Relationship Diagram
• Major components of ER diagram
• Practices
author
name death
birthday description
02/05/25 Ashish Kumar 23
Ternary Relationship
• Some entity sets in real world naturally depend on some other entity
set
• They can be uniquely identified only if combined with another entity set
• Example:
• section1, section2, … become unique only if you put them into a context, e.g.
csce4350
• Disjoint
• Overlapping
• Completeness constraint (use double lines)
• total : an entity must belong to one of the lower-level entity sets
• partial: an entity need not belong to one of the lower-level entity sets