Difference between ER diagram and EER diagram

前端 未结 3 1734
Happy的楠姐
Happy的楠姐 2021-01-30 14:24

What is the difference between ERD (Entity relationship diagram) and EERD (enhanced entity relationship diagram)?

3条回答
  •  天涯浪人
    2021-01-30 14:49

    Entity-Relationship model

    You have relationships (image source)

    example for an relationship

    and attributes (image source)

    example for an attribute

    that can also be primary keys (image source)

    example for an primary key

    Enhanced entity–relationship model

    You have the same as with the ER model plus

    specialisation

    enter image description here

    partitioning (which are multiple specialisations)

    generalisation

    aggregation

    keys are annotated differently:

    enter image description here

提交回复
热议问题