SlideShare una empresa de Scribd logo
1 de 15
The Entity Relationship Model

             Prepared by:
             Jane L. Garay
Entity
 The word entity in the ERM correspond to a table-not a
 row- in a relational environment.
 The ERM refers to a table row as an entity instance or
  entity occurrence.
Attributes
 Required attributes- an attribute that must have a value, ,
 it cannot be left empty.
                          STUDENT
                           STU_LNAME
                           STU_FNAME
                           STU_INITIAL
                            STU_EMAIL
                            STU_PHONE
Optional attributes- attribute that does not require a
value, it can be left empty.
                        STUDENT
                         STU_LNAME
                         STU_FNAME
                          STU_INITIAL
                          STU_EMAIL
                          STU_PHONE
Domains- is the set of possible values for a given attribute.
Identifiers (Primary key)- one or more attributes that
 uniquely identify each entity instance.
 Composite identifiers- a primary key composed of more
 than one atribute.
Composite attributes- can be further subdivided to yield
 additional attributes.
 For example the attribute ADDRESS can be subdivided into
 street, city, state, zip code.
Simple attributes- cannot be subdivided.
 For example, age, sex, marital status.
Single-valued attributes- can have only a single value.
 For example, a person can only have one SSS Number.
Multivalued attributes- can have many values.
 For instance, a person may have a several college degrees,
 and a household may have different phones, each with its
 own number.
MOD_CODE         CAR_YEAR              CAR
                                        PK    CAR_VIN

CAR_VIN          CAR        CAR_COLOR
                                             MOD_CODE
                                              CAR_YEAR
                                             CAR_COLOR
Derived attributes – whose value is calculated (derived)
 from other attributes.
 It is derived by using an algorithm.
 Sometimes referred to as computed attributes.
Relationships
 The entities that participate in a relationship are also
 known as participants, and each relationship is identified by
 a name that describes the relationship.
Relationship name is an active or a
passive verb.


                          Relationship name:
                                 writes

        Author                                          Book


                  An author writes one or more books
             A book can be written by one or more authors.
Connectivity and Cardinality
 Connectivity used to describe the relationship
 classification.
 Cardinality expresses the minimum and maximum number
 of entity occurrences associated with one occurrence of
 related entity.
 The first value represents the minimum no. of associated
 entities. The second value represents the maximum no. of
 associated entities
Connectivities

PROFESSOR                                      CLASS


            (1, 1)                    (1, 4)




                      Cardinalities
Erm
Erm

Más contenido relacionado

La actualidad más candente

ER model to Relational model mapping
ER model to Relational model mappingER model to Relational model mapping
ER model to Relational model mapping
Shubham Saini
 
E-R diagram in Database
E-R diagram in DatabaseE-R diagram in Database
E-R diagram in Database
Fatiha Qureshi
 
3 data modeling using the entity-relationship (er) model
3 data modeling using the entity-relationship (er) model3 data modeling using the entity-relationship (er) model
3 data modeling using the entity-relationship (er) model
Kumar
 
Er Model Nandha&Mani
Er Model Nandha&ManiEr Model Nandha&Mani
Er Model Nandha&Mani
guest1e0229a
 

La actualidad más candente (20)

Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship Diagram
 
10287 lecture5(2)
10287 lecture5(2)10287 lecture5(2)
10287 lecture5(2)
 
Data Modeling and Database Design 2nd Edition by Umanath Scamell Solution Manual
Data Modeling and Database Design 2nd Edition by Umanath Scamell Solution ManualData Modeling and Database Design 2nd Edition by Umanath Scamell Solution Manual
Data Modeling and Database Design 2nd Edition by Umanath Scamell Solution Manual
 
Entity relation(1)
Entity relation(1)Entity relation(1)
Entity relation(1)
 
ER Diagram
ER DiagramER Diagram
ER Diagram
 
Mapping ER and EER Model
Mapping ER and EER ModelMapping ER and EER Model
Mapping ER and EER Model
 
Er diagrams presentation
Er diagrams presentationEr diagrams presentation
Er diagrams presentation
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
 
Types of attributes (160210107054)
Types of attributes  (160210107054)Types of attributes  (160210107054)
Types of attributes (160210107054)
 
Entity relationship diagram
Entity relationship diagramEntity relationship diagram
Entity relationship diagram
 
ER Modelling
ER ModellingER Modelling
ER Modelling
 
Data model and entity relationship
Data model and entity relationshipData model and entity relationship
Data model and entity relationship
 
ER model to Relational model mapping
ER model to Relational model mappingER model to Relational model mapping
ER model to Relational model mapping
 
dbms
dbmsdbms
dbms
 
E-R diagram in Database
E-R diagram in DatabaseE-R diagram in Database
E-R diagram in Database
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
 
Entity Relationship Diagram2
Entity Relationship Diagram2Entity Relationship Diagram2
Entity Relationship Diagram2
 
3 data modeling using the entity-relationship (er) model
3 data modeling using the entity-relationship (er) model3 data modeling using the entity-relationship (er) model
3 data modeling using the entity-relationship (er) model
 
Er Model Nandha&Mani
Er Model Nandha&ManiEr Model Nandha&Mani
Er Model Nandha&Mani
 
Entity relationship diagram
Entity relationship diagramEntity relationship diagram
Entity relationship diagram
 

Similar a Erm

Data modeling using the entity relationship model
Data modeling using the entity relationship modelData modeling using the entity relationship model
Data modeling using the entity relationship model
Jafar Nesargi
 
erdiagramspresentation-150826044953-lva1-app6891.pdf
erdiagramspresentation-150826044953-lva1-app6891.pdferdiagramspresentation-150826044953-lva1-app6891.pdf
erdiagramspresentation-150826044953-lva1-app6891.pdf
vinayakjadhav94
 
Entity Relationship Diagram – ER Diagram in DBMS.pptx
Entity Relationship Diagram – ER Diagram in DBMS.pptxEntity Relationship Diagram – ER Diagram in DBMS.pptx
Entity Relationship Diagram – ER Diagram in DBMS.pptx
sukrithlal008
 

Similar a Erm (20)

ERD.pptx
ERD.pptxERD.pptx
ERD.pptx
 
Data modeling using the entity relationship model
Data modeling using the entity relationship modelData modeling using the entity relationship model
Data modeling using the entity relationship model
 
DBMS Unit-2_Final.pptx
DBMS Unit-2_Final.pptxDBMS Unit-2_Final.pptx
DBMS Unit-2_Final.pptx
 
Chapter3
Chapter3Chapter3
Chapter3
 
Chapter3
Chapter3Chapter3
Chapter3
 
Lecture one db
Lecture one dbLecture one db
Lecture one db
 
Er Modeling
Er ModelingEr Modeling
Er Modeling
 
Er diagrams presentation
Er diagrams presentationEr diagrams presentation
Er diagrams presentation
 
erdiagramspresentation-150826044953-lva1-app6891.pdf
erdiagramspresentation-150826044953-lva1-app6891.pdferdiagramspresentation-150826044953-lva1-app6891.pdf
erdiagramspresentation-150826044953-lva1-app6891.pdf
 
Fundamentals of database system - Data Modeling Using the Entity-Relationshi...
Fundamentals of database system  - Data Modeling Using the Entity-Relationshi...Fundamentals of database system  - Data Modeling Using the Entity-Relationshi...
Fundamentals of database system - Data Modeling Using the Entity-Relationshi...
 
ERD(2).ppt
ERD(2).pptERD(2).ppt
ERD(2).ppt
 
3. Chapter Three.pdf
3. Chapter Three.pdf3. Chapter Three.pdf
3. Chapter Three.pdf
 
Rdbms ER model
Rdbms ER modelRdbms ER model
Rdbms ER model
 
Advantages and disadvantages of er model in DBMS. Types of database models ..
Advantages and disadvantages of er model in DBMS. Types of database models ..Advantages and disadvantages of er model in DBMS. Types of database models ..
Advantages and disadvantages of er model in DBMS. Types of database models ..
 
DBMS Unit 2 ppt.ppt
DBMS Unit 2 ppt.pptDBMS Unit 2 ppt.ppt
DBMS Unit 2 ppt.ppt
 
Entity Relationship Diagram – ER Diagram in DBMS.pptx
Entity Relationship Diagram – ER Diagram in DBMS.pptxEntity Relationship Diagram – ER Diagram in DBMS.pptx
Entity Relationship Diagram – ER Diagram in DBMS.pptx
 
rdbmsdol.pptx
rdbmsdol.pptxrdbmsdol.pptx
rdbmsdol.pptx
 
rdbmsdol.pptx
rdbmsdol.pptxrdbmsdol.pptx
rdbmsdol.pptx
 
Chapter2
Chapter2Chapter2
Chapter2
 
Entity Relationship Modelling
Entity Relationship ModellingEntity Relationship Modelling
Entity Relationship Modelling
 

Más de Jane Garay (16)

Db envi
Db enviDb envi
Db envi
 
Erm
ErmErm
Erm
 
Db Envi
Db EnviDb Envi
Db Envi
 
The research process
The research processThe research process
The research process
 
Bibliographies (2)
Bibliographies (2)Bibliographies (2)
Bibliographies (2)
 
Hardware & software
Hardware & softwareHardware & software
Hardware & software
 
Information management education
Information management educationInformation management education
Information management education
 
My database design final
My database design finalMy database design final
My database design final
 
My database design
My database designMy database design
My database design
 
My database design
My database designMy database design
My database design
 
My database design x
My database design xMy database design x
My database design x
 
Informational web pages
Informational web pagesInformational web pages
Informational web pages
 
Information retrieval system!
Information retrieval system!Information retrieval system!
Information retrieval system!
 
Database system environment ppt.
Database system environment ppt.Database system environment ppt.
Database system environment ppt.
 
The entity relationship model
The entity relationship modelThe entity relationship model
The entity relationship model
 
Fora, discussion boards
Fora, discussion boardsFora, discussion boards
Fora, discussion boards
 

Último

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Último (20)

Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 

Erm

  • 1. The Entity Relationship Model Prepared by: Jane L. Garay
  • 2. Entity The word entity in the ERM correspond to a table-not a row- in a relational environment. The ERM refers to a table row as an entity instance or entity occurrence.
  • 3. Attributes Required attributes- an attribute that must have a value, , it cannot be left empty. STUDENT STU_LNAME STU_FNAME STU_INITIAL STU_EMAIL STU_PHONE
  • 4. Optional attributes- attribute that does not require a value, it can be left empty. STUDENT STU_LNAME STU_FNAME STU_INITIAL STU_EMAIL STU_PHONE
  • 5. Domains- is the set of possible values for a given attribute. Identifiers (Primary key)- one or more attributes that uniquely identify each entity instance. Composite identifiers- a primary key composed of more than one atribute.
  • 6. Composite attributes- can be further subdivided to yield additional attributes. For example the attribute ADDRESS can be subdivided into street, city, state, zip code. Simple attributes- cannot be subdivided. For example, age, sex, marital status.
  • 7. Single-valued attributes- can have only a single value. For example, a person can only have one SSS Number. Multivalued attributes- can have many values. For instance, a person may have a several college degrees, and a household may have different phones, each with its own number.
  • 8. MOD_CODE CAR_YEAR CAR PK CAR_VIN CAR_VIN CAR CAR_COLOR MOD_CODE CAR_YEAR CAR_COLOR
  • 9. Derived attributes – whose value is calculated (derived) from other attributes. It is derived by using an algorithm. Sometimes referred to as computed attributes.
  • 10. Relationships The entities that participate in a relationship are also known as participants, and each relationship is identified by a name that describes the relationship.
  • 11. Relationship name is an active or a passive verb. Relationship name: writes Author Book An author writes one or more books A book can be written by one or more authors.
  • 12. Connectivity and Cardinality Connectivity used to describe the relationship classification. Cardinality expresses the minimum and maximum number of entity occurrences associated with one occurrence of related entity. The first value represents the minimum no. of associated entities. The second value represents the maximum no. of associated entities
  • 13. Connectivities PROFESSOR CLASS (1, 1) (1, 4) Cardinalities