You are on page 1of 11

 

What is an Entity Relationship Model?

An E-R model is normally expressed as


an entity-relationship diagram (called E-R
diagram). E-R diagram is graphical
representation of an E-R model.
 Building blocks (symbols) of E-R diagram
 How to Create an ER diagram?
Consider a simple scenario in which a client
orders food at a restaurant. The client must
purchase one or more menu items, while each
menu item is served by one attendant.
 Step 1 - identify the entities in your
database.
In this case, we have three entities: 
Client, 
Menu_Item, and 
Attendant.
 Step 2 - identifying
the relationships between the selected
entities.
The Client is served a Menu_Item.
The Attendant delivers the Menu_Item.
 Step 2 - identifying
the relationships between the selected
entities.
The Client is served a Menu_Item.
The Attendant delivers the Menu_Item.
 Step 4 - identifying entity attributes.
Make sure that every attribute is mapped to only one entity;
assign modifiers for those that belong to more than one.
Specify the primary key for each entity by using the most
uniquely identifying attributes.
 Step 4 - identifying entity attributes.
Make sure that every
attribute is mapped to
only one entity; assign
modifiers for those
that belong to more
than one.
Specify the primary
key for each entity by
using the most
uniquely identifying
attributes.
 Step 5 - Here’s what our sample project
will look like when designed using the
crow’s foot (IE) notation.
Before I end my report, I would like to
share with a video to further explain
the ERD process

You might also like