What Is An Entity Relationship Diagram
What Is An Entity Relationship Diagram
An Entity Relationship Diagram (ERD) is a visual representation of data and how different data
elements (entities) relate to each other within a system. It is used in database design to model the
logical structure of a database.
Purpose:
For example:
• Entity: Student
Multivalued Attribute
A Multivalued Attribute is an attribute that can have more than one value for a single entity.
Example:
For a Person entity, the attribute PhoneNumber can have multiple values (home, work, mobile).
Representation in ERD:
Derived Attribute
A Derived Attribute is an attribute whose value is calculated or derived from other attributes.
Example:
If an entity has DateOfBirth, we can derive the Age using the current date.
Representation in ERD: