Difference between ER diagram and EER diagram

shaki mandira picture shaki mandira · Mar 28, 2012 · Viewed 50.4k times · Source

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

Answer

Martin Thoma picture Martin Thoma · Jul 31, 2013

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