SlideShare a Scribd company logo
2
Most read
3
Most read
5
Most read
E-R DIAGRAM
What is an ER diagram?
• An Entity Relationship Diagram (ERD) is a visual representation of different
entities within a system and how they relate to each other.
Ex: The elements writer, novel, and a consumer may be described using ER
diagrams the following way:
ER diagram with basic objects
• They are also known as ERD’s or ER models.
ER diagrams in software engineering
• Entity relationship diagrams are used in software engineering during the
planning stages of the software project. They help to identify different
system elements and their relationships with each other. It is often used as
the basis for data flow diagrams or DFD’s as they are commonly known.
Ex. An inventory software used in a retail shop will have a database that
monitors elements such as purchases, item, item type, item source and item
price. Rendering this information through an ER diagram would be
something like this:
ER diagram example with entity having attributes
ER Diagram Symbols and Notations
Elements in ER diagrams
There are three basic elements in an ER Diagram: entity, attribute,
relationship. There are more elements which are based on the main elements.
They are weak entity, multi valued attribute, derived attribute,
weak relationship, and recursive relationship. Cardinality and ordinality are
two other notations used in ER diagrams to further define relationships.
Entity
An entity can be a person, place, event, or object that is relevant to a given
system. For example, a school system may include students, teachers, major
courses, subjects, fees, and other items. Entities are represented in ER
diagrams by a rectangle and named using singular nouns.
Weak Entity
• A weak entity is an entity that depends on the existence of another entity. In
more technical terms it can be defined as an entity that cannot be identified
by its own attributes. It uses a foreign key combined with its attributed to
form the primary key. An entity like order item is a good example for this.
The order item will be meaningless without an order so it depends on the
existence of the order.
Weak Entity Example in ER diagrams
Attribute
An attribute is a property, trait, or characteristic of an entity,
relationship, or another attribute.
Ex: The attribute Inventory Item Name is an attribute of the entity
Inventory Item. An entity can have as many attributes as necessary.
Meanwhile, attributes can also have their own specific attributes.
Ex: The attribute “customer address” can have the attributes number,
street, city, and state. These are called composite attributes. Note that some
top level ER diagrams do not show attributes for the sake of simplicity. In
those that do, however, attributes are represented by oval shapes.
Attributes in ER diagrams, Note that an attribute can have its own attributes ( composite
attribute )

More Related Content

PPT
1. Introduction to DBMS
PPTX
Data Modeling PPT
PPTX
ER MODEL
PPTX
All data models in dbms
PPTX
Object oriented database concepts
PPTX
Types Of Keys in DBMS
PPTX
Advantages of DBMS
PPT
1. Introduction to DBMS
Data Modeling PPT
ER MODEL
All data models in dbms
Object oriented database concepts
Types Of Keys in DBMS
Advantages of DBMS

What's hot (20)

PPTX
Structure of dbms
PPTX
Acid properties
PPTX
1.4 data independence
PPTX
Database architecture
PPT
Unified Modeling Language
DOCX
Behavioural modelling
PPT
Entity relationship modelling
PPTX
Language and Processors for Requirements Specification
PPTX
Modules and modularization criteria
PPTX
FUNCTION DEPENDENCY AND TYPES & EXAMPLE
PPTX
Activity diagram model
PPT
Class diagrams
PPTX
Overview of UML Diagrams
PPTX
Unit1 DBMS Introduction
PPTX
PPTX
Relational model
PPTX
Chapter 1 2 - some size factors
PPTX
Entity Relationship Model
PPT
Slide 4 Interaction Diagram
PPT
Software Quality Metrics
Structure of dbms
Acid properties
1.4 data independence
Database architecture
Unified Modeling Language
Behavioural modelling
Entity relationship modelling
Language and Processors for Requirements Specification
Modules and modularization criteria
FUNCTION DEPENDENCY AND TYPES & EXAMPLE
Activity diagram model
Class diagrams
Overview of UML Diagrams
Unit1 DBMS Introduction
Relational model
Chapter 1 2 - some size factors
Entity Relationship Model
Slide 4 Interaction Diagram
Software Quality Metrics
Ad

Similar to E r diagram (20)

PPTX
Presentation of saad on e-r diagram.
PPTX
ER-Diagram.pptx
PDF
dbms mannual.pdf
PPTX
Chapter 4_ERD- introduction to entity relationship diagram.pptx
PPTX
Entity Relationship Model and ER Diagram
PPTX
Unit 1 Data Modeling_Updated (2) (2).pptx
PPTX
Entity relation(1)
DOCX
ER Diagram_Kameshwari.docx
PPTX
Administrator of Online Examination has multiple features such as Add, Delete...
PPTX
E_R-Diagram (2).pptx
PPTX
RDBMS ER (Entity Relationship) Diagram.pptx
PPTX
ERD.pptxasdasdasdasdasdasdsssaaasdasdasd
PPT
D I T211 Chapter 3
PPTX
COMPUTER PROGRAMMING-LESSON3-ENTITY.pptx
PPTX
Entity Relationship Diagram – ER Diagram in DBMS.pptx
PPT
3144-unit-1entityrmodel-171122051336.ppt
PPT
ER Diagram introduction .ppt
PPTX
Database
PPTX
Use analyzed requirements in the design of database.pptx
PPTX
PixelPlay.pptxhuiguygfufghfhfhfhfghfghfgh
Presentation of saad on e-r diagram.
ER-Diagram.pptx
dbms mannual.pdf
Chapter 4_ERD- introduction to entity relationship diagram.pptx
Entity Relationship Model and ER Diagram
Unit 1 Data Modeling_Updated (2) (2).pptx
Entity relation(1)
ER Diagram_Kameshwari.docx
Administrator of Online Examination has multiple features such as Add, Delete...
E_R-Diagram (2).pptx
RDBMS ER (Entity Relationship) Diagram.pptx
ERD.pptxasdasdasdasdasdasdsssaaasdasdasd
D I T211 Chapter 3
COMPUTER PROGRAMMING-LESSON3-ENTITY.pptx
Entity Relationship Diagram – ER Diagram in DBMS.pptx
3144-unit-1entityrmodel-171122051336.ppt
ER Diagram introduction .ppt
Database
Use analyzed requirements in the design of database.pptx
PixelPlay.pptxhuiguygfufghfhfhfhfghfghfgh
Ad

More from SandhyaTatekalva (9)

PPT
Uml diagrams usecase
PPTX
PPT
San se unit
PPTX
Os unit i
PPTX
Os unit 3
PPT
Marketing
PPTX
Em unit v
PPTX
communication
DOCX
software engineering
Uml diagrams usecase
San se unit
Os unit i
Os unit 3
Marketing
Em unit v
communication
software engineering

Recently uploaded (20)

PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Classroom Observation Tools for Teachers
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
Institutional Correction lecture only . . .
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
Cell Structure & Organelles in detailed.
PDF
RMMM.pdf make it easy to upload and study
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
Cell Types and Its function , kingdom of life
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
master seminar digital applications in india
Microbial disease of the cardiovascular and lymphatic systems
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Classroom Observation Tools for Teachers
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Institutional Correction lecture only . . .
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
2.FourierTransform-ShortQuestionswithAnswers.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Final Presentation General Medicine 03-08-2024.pptx
Week 4 Term 3 Study Techniques revisited.pptx
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Microbial diseases, their pathogenesis and prophylaxis
Cell Structure & Organelles in detailed.
RMMM.pdf make it easy to upload and study
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Cell Types and Its function , kingdom of life
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
master seminar digital applications in india

E r diagram

  • 1. E-R DIAGRAM What is an ER diagram? • An Entity Relationship Diagram (ERD) is a visual representation of different entities within a system and how they relate to each other. Ex: The elements writer, novel, and a consumer may be described using ER diagrams the following way: ER diagram with basic objects • They are also known as ERD’s or ER models.
  • 2. ER diagrams in software engineering • Entity relationship diagrams are used in software engineering during the planning stages of the software project. They help to identify different system elements and their relationships with each other. It is often used as the basis for data flow diagrams or DFD’s as they are commonly known. Ex. An inventory software used in a retail shop will have a database that monitors elements such as purchases, item, item type, item source and item price. Rendering this information through an ER diagram would be something like this: ER diagram example with entity having attributes
  • 3. ER Diagram Symbols and Notations Elements in ER diagrams There are three basic elements in an ER Diagram: entity, attribute, relationship. There are more elements which are based on the main elements. They are weak entity, multi valued attribute, derived attribute, weak relationship, and recursive relationship. Cardinality and ordinality are two other notations used in ER diagrams to further define relationships.
  • 4. Entity An entity can be a person, place, event, or object that is relevant to a given system. For example, a school system may include students, teachers, major courses, subjects, fees, and other items. Entities are represented in ER diagrams by a rectangle and named using singular nouns. Weak Entity • A weak entity is an entity that depends on the existence of another entity. In more technical terms it can be defined as an entity that cannot be identified by its own attributes. It uses a foreign key combined with its attributed to form the primary key. An entity like order item is a good example for this. The order item will be meaningless without an order so it depends on the existence of the order. Weak Entity Example in ER diagrams
  • 5. Attribute An attribute is a property, trait, or characteristic of an entity, relationship, or another attribute. Ex: The attribute Inventory Item Name is an attribute of the entity Inventory Item. An entity can have as many attributes as necessary. Meanwhile, attributes can also have their own specific attributes. Ex: The attribute “customer address” can have the attributes number, street, city, and state. These are called composite attributes. Note that some top level ER diagrams do not show attributes for the sake of simplicity. In those that do, however, attributes are represented by oval shapes. Attributes in ER diagrams, Note that an attribute can have its own attributes ( composite attribute )