Skip to content
BoKSA

Entity Relationship Diagram (ERD)

Entity Relationship Diagram (ERD)

An Entity Relationship Diagram (ERD) is a visual model of the information an organisation wants to store and how that information is related. It shows what data matters to the business, without yet looking at the technical implementation. For a Digital Business Engineer an ERD is mainly a thinking and communication tool: it helps you understand the client's business, check with stakeholders whether you understood it correctly, and give developers a clear starting point for the database design.

An ERD is built from four concepts:

  • Entity – a type of "thing" the organisation wants to store data about, for example Customer, Order, or Product.
  • Attribute – a property of an entity, for example a customer's name, email address, or date of birth.
  • Relationship – a connection between entities, for example "Customer places Order".
  • Instance – one concrete example of an entity, for example the order with number 239741.

Relationships have a cardinality, which describes how many instances can be connected:

  • One-to-many (1:N) – one customer can place many orders, but each order belongs to one customer.
  • Many-to-many (N:M) – one order can contain many products, and one product can appear in many orders.
  • One-to-one (1:1) – one employee has at most one lease car, and each lease car belongs to one employee.

You can mark identifying attributes (identifiers) by underlining them: attributes the organisation uses to recognise an instance, such as a customer number. An ERD does not yet contain primary or foreign keys; those are added later when the ERD is worked out into a technical database design.

Why this matters for a Digital Business Engineer. The entities and relationships in an ERD are business rules. "Can an order belong to more than one customer?" or "Can a product exist without a supplier?" are questions for the client, not for the developer. By drawing an ERD early and discussing it with stakeholders, you discover misunderstandings before they end up in the system. An ERD also connects to other analysis work: it follows from your requirements (see the article on Requirements Analysis), complements a process model in BPMN (which shows how work flows, while the ERD shows what data is involved), and forms the basis for reliable reports and dashboards (see the article on Business Intelligence).

Naming conventions. Agree on conventions within your team so everyone can read, review, and continue each other's work. Choose one language for the whole ERD and avoid spaces and SQL reserved words (such as SELECT or ORDER). Write entities in singular PascalCase (Customer, OrderLine), attributes in singular camelCase (customerNumber, dateOfBirth), and describe each relationship in five words or fewer (Customer places Order). You can draw an ERD in tools such as draw.io or Mermaid.

Starting Points

Key Points

  • You derive entities, attributes, and relationships from the client's requirements and business processes, and can explain how the ERD supports the business need.
  • You correctly apply the concepts of an ERD: entities, attributes, identifiers, relationships, and cardinality (1:1, 1:N, N:M).
  • You validate the ERD with stakeholders by translating relationships into business rules they can confirm or correct, and adjust the model based on their feedback.
  • You follow the agreed naming conventions (one language, PascalCase entities, camelCase attributes, short relationship descriptions) so the model is readable and transferable to team members.
  • You consider which personal or sensitive data is stored and whether it is really necessary, with attention to privacy and the GDPR.