SlideShare a Scribd company logo
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

More Related Content

What's hot

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
 

What's hot (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 to 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 to 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
 
The Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptxThe Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptx
 
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
 

More from Jane Garay (16)

Erm
ErmErm
Erm
 
Db envi
Db enviDb envi
Db envi
 
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
 

Recently uploaded

Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
Avinash Rai
 

Recently uploaded (20)

Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
NCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdfNCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdf
 
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptBasic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
 
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdfTelling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
 
Open Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPointOpen Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPoint
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptx
 
How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17
 
Benefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational ResourcesBenefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational Resources
 
Application of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesApplication of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matrices
 
Keeping Your Information Safe with Centralized Security Services
Keeping Your Information Safe with Centralized Security ServicesKeeping Your Information Safe with Centralized Security Services
Keeping Your Information Safe with Centralized Security Services
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
 
Morse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxMorse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptx
 
Research Methods in Psychology | Cambridge AS Level | Cambridge Assessment In...
Research Methods in Psychology | Cambridge AS Level | Cambridge Assessment In...Research Methods in Psychology | Cambridge AS Level | Cambridge Assessment In...
Research Methods in Psychology | Cambridge AS Level | Cambridge Assessment In...
 
The Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. HenryThe Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. Henry
 
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
Operations Management - Book1.p  - Dr. Abdulfatah A. SalemOperations Management - Book1.p  - Dr. Abdulfatah A. Salem
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
 
How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17
 

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