0% found this document useful (0 votes)
8 views7 pages

Abi Rte

The Entity-Relationship (ER) model is a high-level data model used to define data elements and their relationships within a system, often represented through ER diagrams. Proposed by Peter Chen in 1971, it utilizes symbols such as rectangles for entities, ellipses for attributes, and diamonds for relationships. Key components include entities, weak entities, and attributes, each illustrated with specific shapes in the diagram.

Uploaded by

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

Abi Rte

The Entity-Relationship (ER) model is a high-level data model used to define data elements and their relationships within a system, often represented through ER diagrams. Proposed by Peter Chen in 1971, it utilizes symbols such as rectangles for entities, ellipses for attributes, and diamonds for relationships. Key components include entities, weak entities, and attributes, each illustrated with specific shapes in the diagram.

Uploaded by

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

ER model(Entity Relationship Model)

what is entity relationship model?

ER model stands for an Entity-Relationship model. It is a


high-level data model. This model is used to define the
data elements and relationship for a specified system.

It develops a conceptual design for the database. It also


develops a very simple and easy to design view of data.

In ER modeling, the database structure is portrayed as a


diagram called an entity-relationship diagram.

for example:
History of ER models

Peter Chen proposed ER Diagrams in 1971 to create a


uniform convention that can be used as conceptual
modeling tool. Many models were presented and also
discussed, but none were suitable. The data structure
diagrams offered by Charles Bachman also inspired his
model.

Symbols Used in ER Diagrams


· Rectangles: This Entity Relationship Diagram
symbol represents entity types
· Ellipses: This symbol represents attributes
· Diamonds: This symbol represents relationship types
· Lines: It links attributes to entity types and entity
types with other relationship types
· Primary key: Here, it underlines the attributes
· Double Ellipses: Represents multi-valued attributes
Component of ER Diagram
Entities

An entity can be either a living or non-living component.


It showcases an entity as a rectangle in an ER diagram.
For example, in a student study course, both the student
and the course are entities.
Weak Entity

An entity that makes reliance over another entity is called


a weak entity
You showcase the weak entity as a double rectangle in ER
Diagram.
In the example below, school is a strong entity its because
it has a primary key attribute of - school number. Unlike
school, the classroom is an weak entity because it does
not have any primary key and the room number here acts
only as a discriminator.
Attribute

An attribute exhibits the properties of an entity.


You can illustrate an attribute with an oval shape in an ER
diagram.

You might also like