Entity-Relationship Diagrams (ERD) are a way to visualise relationships between tables and the common keys between them. On first glance, they may look like a spaghetti mess.<\/p>\n\n\n\n
This post hopes to demystify the language and how they fit together with the help of Sonic the Hedgehog.<\/p>\n\n\n\n
Conceptual Data Model<\/a>
Logical Data Model<\/a>
Physical Data Model<\/a>
What do the circles and arrows mean?<\/a>
Who uses these diagrams?<\/a>
Which systems can we model?<\/a>
How do we start?<\/a>
Any gotchas?<\/a><\/strong><\/p><\/blockquote>\n\n\n\n
\n\n\n\nIn this example, I’ll be using data from my favourite Sega Master System game, Sonic The Hedgehog 1 and illustrating how the Zones, Acts and Boss levels fit together.<\/p>\n\n\n\n
\n\n\n\nConceptual Data Model<\/h2>\n\n\n\n
Level one!<\/p>\n\n\n\n
The Conceptual Data Model, this is a high-level overview of the different entities in the model and their relationships.<\/p>\n\n\n\n