Entities and relationships (ERD)
An entity-relationship diagram shows the things a business keeps facts about and how they link. Learn entities, relationships and attributes, and how to read one-to-many links.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: A school's lists. A school keeps a list of pupils, a list of classes, and a list of who attends which class. Each list is about one kind of thing. The third list joins the first two.
Sam is a , the person who finds out what people need. Sam works on Daily List, a to-do list app. Leo is the developer, who stores the app's facts in a database. Nina, the who decides what the team builds next, says, "A list can have many members." Leo had modelled ownership but had not modelled the separate membership relationship.
So Sam draws an entity-relationship diagram (ERD), a picture of the things a business keeps facts about and how they link. A data model is the plan for what facts are kept. An ERD is one way to draw it.
An entity is a thing the business keeps facts about. User, List and Task are entities.
A relationship is a link between two entities. One User owns many Lists. One List has many Tasks.
An is a fact kept about an entity. A User has a name, an email and a plan.
A school list is on paper. A data model shapes how software stores facts, so a mistake in it is costly to fix.
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the work.
THE REAL JOB An entity-relationship diagram (ERD) shows what a business keeps facts about and how those things link, so a team agrees the data before building it.
- List the nouns
- Keep the kinds of thing
- Add attributes
- Draw the links
- Write the counts
HOW THE PICTURE MAPS
| In the picture | In the work |
|---|---|
| Lists of pupils and classes | Entities |
| A pupil's name and age on the list | Attributes |
| Who attends which class | A relationship |
| The attendance list that joins the two | A link entity such as Membership |
| A list on paper | A limit: software storage needs a firm plan |
WHERE THIS PICTURE STOPS
- A school list is paper and easy to change. A data model shapes software.
- A school has a few lists. A product can have many entities.
- A paper list can hold a note in the margin. A data model needs every fact to have a place.
HOOK
Nouns are boxes, facts go inside, lines carry the counts.
REMEMBER IT THIS WAY
A chunk: a long list grouped so it is easier to hold.
Count both ends of each line. A list can have many members, and a member can join many lists.
| In the trick | What it stands for |
|---|---|
| Box | a kind of thing |
| Line | how things link |
| Count | the counts on the lines |
TELL A FRIEND
An entity-relationship diagram shows the things a business keeps facts about and how they link. Facts are attributes, and each link has a count.
OFTEN MIXED UP WITH Glossary and data dictionary. That topic records what each term and data field means. This one draws how the things link together.
PRACTISE AND KEEP
Sources for this topic — 3 sources
- Market practice
What is data modeling? ↗ — IBM · IBM data-model levels and business meaning. Primary public page/document opened/read2026-11-06; practice guidance scoped to this educational example.
Primary public document opened and the cited material read on2026-11-06. Original educational paraphrase; no source figure copied. Conceptual, logical and physical abstraction levels and business-driven modelling; the relational storage example is scoped, not universal.
- Market practice
CPRE Requirements Modeling syllabus 3.1.1,30 July 2024 ↗ — International Requirements Engineering Board · Requirements Modeling syllabus 3.1.1,30 July 2024, §§1–5 including4.8: purposeful views, information structures, functional/behavioural modelling, decomposition and scenarios; public PDF opened/read2026-11-06.
Primary public document opened and the cited material read on2026-11-06. Original educational paraphrase; no source figure copied. §§1–5: model purpose, information structures, functions, behaviour, decomposition and scenarios. Educational objectives, not mandatory product artefacts.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
What this simplifies: The Daily List data is invented for teaching. Real data models have many more entities, and notations such as crow's foot and Chen differ. This topic shows the idea in words and plain lines.
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.