0% found this document useful (0 votes)
18 views17 pages

Entity Relationship Modeling - Presentation

The document discusses Entity Relationship Modeling (ERM) which is a conceptual modeling technique used in software engineering to represent the structure of data in a system. It provides a visual overview of the relationships between entities within a system. The document defines key ERM concepts like entities, attributes, relationships, cardinality constraints, participation constraints, and entity relationship diagrams (ERDs).

Uploaded by

f2022266447
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)
18 views17 pages

Entity Relationship Modeling - Presentation

The document discusses Entity Relationship Modeling (ERM) which is a conceptual modeling technique used in software engineering to represent the structure of data in a system. It provides a visual overview of the relationships between entities within a system. The document defines key ERM concepts like entities, attributes, relationships, cardinality constraints, participation constraints, and entity relationship diagrams (ERDs).

Uploaded by

f2022266447
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/ 17

ENTITY

RELATIONSHIP
MODELING

Presentation by Zainab Salman & Abdul Wahab


INTRODUCTION
Entity Relationship Modeling (ERM) is a conceptual modeling
technique used in software engineering to represent the structure of
data in a system.

It provides a visual representation of the relationships between


various entities within a system.
BASIC COMPONENTS
Entities: Real-world objects or concepts
we want to model and store information
about.

Attributes: Properties or characteristics


of entities that describe them.
ENTITIES
Entity Type: An entity type is a group of objects
with the same properties, which are identified
by the enterprise as having an independent
existence.

Entity Occurance: An entity occurrence is a


uniquely identifiable object of an entity type.
ATTRIBUTES
An attribute is a property or characteristic of an
entity.

One of the attributes is considered as the


primary key.

Example: Employee has attributes ID, ENAME,


SALARY, and DEPT. To uniquely identify the
employee, we use ID as a primary key as it is
not repeated.
RELATIONSHIPS IN
ERM
Example: A "Student" entity may have
Relationship Type: A set of meaningful a relationship with a "Course" entity
associations among entity types. indicating enrollment.

Relationship Occurrence: A uniquely


identifiable association, which includes
one occurrence from each participating
entity type.
TYPES OF
RELATIONSHIPS
One-to-One: Each instance of one
entity is associated with exactly one
instance of another entity.

One-to-Many: Each instance of


one entity can be associated with
multiple instances of another entity.

Many-to-Many: Many instances of


one entity can be associated with
many instances of another entity.
TYPES OF
RELATIONSHIPS
Zero-to-Many: An instance of one
entity may be associated with zero
or more instances of another entity.

Zero-to-One: An instance of one


entity may be associated with zero
or one instances of another entity.
DEGREE OF A
RELATIONSHIP TYPE

The degree of a relationship is the number


of entity types that participate(associate) in
a relationship.

By seeing an E-R diagram, we can simply


tell the degree of a relationship i.e the
number of an entity type that is connected
to a relationship is the degree of that
relationship.
The degree of this relationship is four.
RECURSIVE
RELATIONSHIP

A recursive relationship is a relationship


type where the same entity type
participates more than once in different
roles.

Example: One company can own


another company.
CARDINALITY CONSTRAINTS
Describes the number of instances of one
entity associated with another entity.

PARTICIPATION
CONSTRAINTS
Specify whether an entity's existence
depends on its participation in a
relationship.
DIAGRAMMING
ERDs provide a clear
overview of the database
schema and relationships

ERM: ERDS between entities, setting the


stage for understanding the
visual representation of ERM

ERDs visually represent entities, attributes,


and relationships.
Offer a clear overview of the database
schema and relationships between
entities.
ENTITY RELATIONSHIP DIAGRAM (ERD)

Academic System
MICROSOFT VISIO

DRAW.IO TOOLS FOR ERM

LUCIDCHART
THANK YOU

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy