You are on page 1of 5

Mohd Zulfadzley Helmy bin Mohd Hejemi

Entity-Relationship
Diagram

What is ERD?
An Entity Relationship Diagram (ERD) is a
snapshot of data structures. An Entity
Relationship Diagram shows entities
(tables) in a database and relationships
between tables within that database. For a
good database design it is essential to
have an Entity Relationship Diagram.

There are three basic elements in ERDiagrams


Entities are the "things" for which we want
to store information. An entity is a person,
place, thing or event.
Attributes are the data we want to collect
for an entitiy.
Relationships describe the relations
between the entities.

Entities, attributes, and relationships


can be represented in one of three ways
conceptual model
logical model
physical model.

These models increase in complexity as you move


from conceptual to logical to physical.
It's usually best to start with a conceptual ERD
model, so you can understandat the highest level
the entities in your data and how they relate to
each other.
As you transform a conceptual ERD to a physical
model, you'll learn exactly how to implement
modeled information into the database of your
choice.

You might also like