๐ Customers, Orders, Products, Reviews โ How a BA Maps the Invisible Relationships Betweenโฆ
๐ฌ Last week we followed data as it flowed through the order management system.
๐ Customers, Orders, Products, Reviews โ How a BA Maps the Invisible Relationships Between Everything
๐ฌ Last week we followed data as it flowed through the order management system.
We saw where it came from, where it went and where it lived.
This week we zoom into the data itself.
Not how it flows โ but how it connects.
A customer places many orders. An order contains many products. A product has many reviews.
Who maps all of this?
The BA. With an Entity Relationship Diagram. ๐
๐ฌ Scene: E-Commerce HQ, Database Design Meeting
The e-commerce platform is building a new personalisation engine.
The tech lead turns to the BA.
โBefore we design the database โ can you map out all the data entities and how they relate to each other?โ
The BA opens a blank diagram.
She starts with three words: Customer. Order. Product.
By the end of the meeting there are nine entities and twenty-three relationships on the board.
The tech lead takes a photo. โThis is exactly what we needed.โ ๐
๐ค What Is an Entity Relationship Diagram?
An Entity Relationship Diagram โ or ERD โ shows the data entities in a system and the relationships between them.
It answers:
โ What types of data does the system store?
โ How does each piece of data relate to other pieces?
โ How many of one thing can connect to how many of another?
It is the data blueprint before the database is built. ๐บ๏ธ

โ Step 1: Identify the Entities
An entity is any thing the system needs to store information about.
For the e-commerce personalisation engine:
๐ฆ Customer โ name, email, address, preferences
๐ฆ Order โ order ID, date, status, total value
๐ฆ Product โ name, description, price, category, stock level
๐ฆ Review โ rating, comment, date, verified purchase flag
๐ฆ Category โ name, parent category, display order
๐ฆ Wishlist โ customer ID, product ID, date added
๐ฆ Delivery โ order ID, address, carrier, tracking number, status
Each entity becomes a table in the database. Each attribute becomes a column. ๐ฏ
โ Step 2: Define the Relationships
Relationships describe how entities connect to each other.
For the e-commerce platform:
๐ A Customer PLACES many Orders โ but each Order belongs to one Customer
๐ An Order CONTAINS many Products โ and a Product can appear in many Orders
๐ A Customer WRITES many Reviews โ but each Review is written by one Customer
๐ A Product BELONGS TO one Category โ but a Category contains many Products
These relationships control how the database is structured and how data can be queried. ๐๏ธ

โ Step 3: Add Cardinality โ The Numbers Game
Cardinality describes HOW MANY of one entity can relate to how many of another.
There are three types:
1๏ธโฃ One-to-One โ one Customer has one Account Profile
1๏ธโฃโก๏ธโพ๏ธ One-to-Many โ one Customer places many Orders
โพ๏ธโก๏ธโพ๏ธ Many-to-Many โ many Products appear in many Orders
Many-to-Many relationships need a joining table in the database.
For Orders and Products: the joining table is called Order Line Items โ it stores which products, in what quantities, at what price, for each order.
๐ BA Tip: Every Many-to-Many relationship in an ERD creates a new data entity the database team needs to build. Always flag these early โ they add complexity and time to development. ๐

โ Step 4: Validate With Both Business and Technical Stakeholders
An ERD needs sign-off from two very different groups:
๐ผ Business stakeholders โ does this reflect how the business actually works?
๐ป Technical stakeholders โ is this buildable and scalable?
For the personalisation engine ERD the marketing team adds one correction:
โA Customer can have multiple Wishlists โ not just one. We want seasonal wishlists.โ
One relationship updated. One database table restructured. Before a single line of code was written. โ

๐ฏ The BA Takeaway
An ERD is the bridge between business requirements and database design.
โ Identify all entities โ everything the system needs to store data about
โ Define relationships with clear verbs โ places, contains, writes, belongs to
โ Add cardinality โ how many of each entity can relate to how many of another
โ Flag Many-to-Many relationships โ they always create extra complexity
โ Validate with both business and technical stakeholders
๐ฌ Closing Scene
The database design meeting ends.
The tech lead has the ERD saved. The developer has already started sketching the table structure.
The marketing manager looks at the diagram one more time.
โI never thought about how all of this connects. Itโs actually quite beautiful.โ
The BA saves the file.
โData always has a structure. Someone just needs to draw it.โ ๐๐ผ
๋ฉํ๋ฐ์ดํฐ
- post_id
- b31c3103d8a5
- slug
- customers-orders-products-reviews-how-a-ba-maps-the-invisible-relationships-between-b31c3103d8a5
- url
- https://medium.com/analysts-corner/customers-orders-products-reviews-how-a-ba-maps-the-invisible-relationships-between-b31c3103d8a5
- canonical_url
- https://medium.com/analysts-corner/customers-orders-products-reviews-how-a-ba-maps-the-invisible-relationships-between-b31c3103d8a5
- author_url
- https://medium.com/@susmiguptha
- status
- ok
- fetched_at
- 2026-07-11 14:08:24