Professional Documents
Culture Documents
Event Trial
Strong Weak
Parent Child
Owner Dependent
Dominant Subordinate
Athlete Event
AthleteID Competes in EventID
AthleteFName EventCategory
… …
A StockHolder buys or
No arrows in
sells a stock through a
relationships
StockBroker.
with degree Stock
higher than 2.
Producer
Writer
CSC 240 (Blum) 34
Recursive Relationship
• If an entity (type) has a relationship with
itself, that relationship is called recursive.
• The entity occurrences in the relationship
may be distinct.
• Since the subject and object are of the same
entity type, the “roles” the occurrences are
playing in the relationship may be added to
the diagram.
CSC 240 (Blum) 35
Recursive Relationship
• A typical example here is if one employee
serves as the supervisor of another
employee.
– While the relationship involves different entity
occurrences (i.e. two different employees), it
involves only one entity type. Thus as far as
entity type goes, the Employee entity has a
relationship with itself.
Teacher Student
Teaches
Faculty Student
Advises
Advisor Advisee