TOPIC 15/4212 MINNOT STARTED

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.

  1. List the nouns
  2. Keep the kinds of thing
  3. Add attributes
  4. Draw the links
  5. Write the counts
Drawing an entity-relationship diagram

HOW THE PICTURE MAPS

How each part of the picture matches the work
In the pictureIn the work
Lists of pupils and classesEntities
A pupil's name and age on the listAttributes
Who attends which classA relationship
The attendance list that joins the twoA link entity such as Membership
A list on paperA 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.

What each part of the trick stands for
In the trickWhat it stands for
Boxa kind of thing
Linehow things link
Countthe 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
  1. 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.

    Conceptual, logical and physical abstraction levels and business-driven modelling; the relational storage example is scoped, not universal. · Checked 2026-11-06

    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.

  2. 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.

    §§1–5: model purpose, information structures, functions, behaviour, decomposition and scenarios. Educational objectives, not mandatory product artefacts. · Checked 2026-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.

  3. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    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.