0% found this document useful (0 votes)
15 views1 page

What Is An Entity Relationship Diagram

An Entity Relationship Diagram (ERD) visually represents data and the relationships between different data elements in a system, aiding in database design. Entities represent real-world objects, relationships show how entities interact, and attributes describe their properties. Attributes can be multivalued or derived, with specific representations in the ERD to indicate their nature.

Uploaded by

galandedikasha03
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views1 page

What Is An Entity Relationship Diagram

An Entity Relationship Diagram (ERD) visually represents data and the relationships between different data elements in a system, aiding in database design. Entities represent real-world objects, relationships show how entities interact, and attributes describe their properties. Attributes can be multivalued or derived, with specific representations in the ERD to indicate their nature.

Uploaded by

galandedikasha03
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

What is an Entity Relationship Diagram (ERD)?

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.

• Entities represent real-world objects or concepts (e.g., Student, Course).

• Relationships show how entities are related (e.g., Enrolls, Teaches).

• Attributes describe properties of entities (e.g., name, age, ID).

Purpose:

• Helps in designing and organizing the database.

• Provides a clear overview of the system’s data and relationships.

• Makes communication between developers and stakeholders easier.

What are Attributes in ER Model?

In the ER Model, attributes are the properties or characteristics of an entity or relationship.

For example:

• Entity: Student

• Attributes: StudentID, Name, DateOfBirth, Email

Attributes can be of different types:

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:

• Shown as a double oval connected to the entity.

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:

• Shown as a dashed oval connected to the entity.

You might also like