SlideShare a Scribd company logo
1 of 13
The Entity Relationship Model

               Prepared by:
               Jane L. Garay   Ronnjemmele Rivera
               Karina Limbo
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 attribute.
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.
CHEN MODEL                     CROW’S FOOT MODEL

      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
CONNECTIVITY AND CARDINALITY IN AN ERD
                                 Connectivities

            PROFESSOR                                      CLASS


                        (1, 1)                    (1, 4)




                                  Cardinalities

More Related Content

What's hot

ER Diagrams Simplified
ER Diagrams SimplifiedER Diagrams Simplified
ER Diagrams SimplifiedPuneet Arora
 
Data Modeling Using the EntityRelationship (ER) Model
Data Modeling Using the EntityRelationship (ER) ModelData Modeling Using the EntityRelationship (ER) Model
Data Modeling Using the EntityRelationship (ER) Modelsontumax
 
03 Ch3 Notes Revised
03 Ch3 Notes Revised03 Ch3 Notes Revised
03 Ch3 Notes Revisedguest6f408c
 
27 f157al5enhanced er diagram
27 f157al5enhanced er diagram27 f157al5enhanced er diagram
27 f157al5enhanced er diagramdddgh
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship ModelNeil Neelesh
 
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) modelKumar
 
ER Modelling
ER ModellingER Modelling
ER Modellinglubna19
 
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...Mustafa Kamel Mohammadi
 
Relational database model -report
Relational database model -reportRelational database model -report
Relational database model -reportKJ Limbo
 
39f1b9a797dbms chapter2 b.sc2 (1)
39f1b9a797dbms chapter2 b.sc2 (1)39f1b9a797dbms chapter2 b.sc2 (1)
39f1b9a797dbms chapter2 b.sc2 (1)Mukund Trivedi
 
39f1b9a797dbms chapter2 b.sc2
39f1b9a797dbms chapter2 b.sc239f1b9a797dbms chapter2 b.sc2
39f1b9a797dbms chapter2 b.sc2Mukund Trivedi
 
Entity relationship diagram
Entity relationship diagramEntity relationship diagram
Entity relationship diagramHaseeb
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship DiagramShakila Mahjabin
 

What's hot (20)

ER Diagrams Simplified
ER Diagrams SimplifiedER Diagrams Simplified
ER Diagrams Simplified
 
Data Modeling Using the EntityRelationship (ER) Model
Data Modeling Using the EntityRelationship (ER) ModelData Modeling Using the EntityRelationship (ER) Model
Data Modeling Using the EntityRelationship (ER) Model
 
Entity relation(1)
Entity relation(1)Entity relation(1)
Entity relation(1)
 
ER Model in DBMS
ER Model in DBMSER Model in DBMS
ER Model in DBMS
 
Entity relationship diagram
Entity relationship diagramEntity relationship diagram
Entity relationship diagram
 
03 Ch3 Notes Revised
03 Ch3 Notes Revised03 Ch3 Notes Revised
03 Ch3 Notes Revised
 
27 f157al5enhanced er diagram
27 f157al5enhanced er diagram27 f157al5enhanced er diagram
27 f157al5enhanced er diagram
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
 
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
 
Chapter2
Chapter2Chapter2
Chapter2
 
Er diagrams presentation
Er diagrams presentationEr diagrams presentation
Er diagrams presentation
 
ER Modelling
ER ModellingER Modelling
ER Modelling
 
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...
 
Relational database model -report
Relational database model -reportRelational database model -report
Relational database model -report
 
39f1b9a797dbms chapter2 b.sc2 (1)
39f1b9a797dbms chapter2 b.sc2 (1)39f1b9a797dbms chapter2 b.sc2 (1)
39f1b9a797dbms chapter2 b.sc2 (1)
 
39f1b9a797dbms chapter2 b.sc2
39f1b9a797dbms chapter2 b.sc239f1b9a797dbms chapter2 b.sc2
39f1b9a797dbms chapter2 b.sc2
 
Entity relationship diagram
Entity relationship diagramEntity relationship diagram
Entity relationship diagram
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship Diagram
 
ER Diagram
ER DiagramER Diagram
ER Diagram
 
10287 lecture5(2)
10287 lecture5(2)10287 lecture5(2)
10287 lecture5(2)
 

Viewers also liked

The research process
The research processThe research process
The research processJane Garay
 
Informational web pages
Informational web pagesInformational web pages
Informational web pagesJane Garay
 
Bibliographies (2)
Bibliographies (2)Bibliographies (2)
Bibliographies (2)Jane Garay
 
My database design
My database designMy database design
My database designJane Garay
 
My database design final
My database design finalMy database design final
My database design finalJane Garay
 
My database design
My database designMy database design
My database designJane Garay
 
Hardware & software
Hardware & softwareHardware & software
Hardware & softwareJane Garay
 
1729, il numero di Mr. 17-29
1729, il numero di Mr. 17-291729, il numero di Mr. 17-29
1729, il numero di Mr. 17-29Marco Ripà
 
Differentiating features of gifted children and dealing with high IQ societies
Differentiating features of gifted children and dealing with high IQ societiesDifferentiating features of gifted children and dealing with high IQ societies
Differentiating features of gifted children and dealing with high IQ societiesMarco Ripà
 
The entity relationship model
The entity relationship modelThe entity relationship model
The entity relationship modelJane Garay
 
Information retrieval system!
Information retrieval system!Information retrieval system!
Information retrieval system!Jane Garay
 
Database system environment ppt.
Database system environment ppt.Database system environment ppt.
Database system environment ppt.Jane Garay
 
Latest trends on implementing v mware on flex pod home slide
Latest trends on implementing v mware on flex pod home slideLatest trends on implementing v mware on flex pod home slide
Latest trends on implementing v mware on flex pod home slideUnitek Eduation
 
Information management education
Information management educationInformation management education
Information management educationJane Garay
 
Fora, discussion boards
Fora, discussion boardsFora, discussion boards
Fora, discussion boardsJane Garay
 
Identifiyng gifted children and dyslexia early diagnosis: risk of cheating on...
Identifiyng gifted children and dyslexia early diagnosis: risk of cheating on...Identifiyng gifted children and dyslexia early diagnosis: risk of cheating on...
Identifiyng gifted children and dyslexia early diagnosis: risk of cheating on...Marco Ripà
 

Viewers also liked (20)

Erm
ErmErm
Erm
 
The research process
The research processThe research process
The research process
 
Informational web pages
Informational web pagesInformational web pages
Informational web pages
 
Bibliographies (2)
Bibliographies (2)Bibliographies (2)
Bibliographies (2)
 
Db envi
Db enviDb envi
Db envi
 
My database design
My database designMy database design
My database design
 
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
 
Hardware & software
Hardware & softwareHardware & software
Hardware & software
 
1729, il numero di Mr. 17-29
1729, il numero di Mr. 17-291729, il numero di Mr. 17-29
1729, il numero di Mr. 17-29
 
Db Envi
Db EnviDb Envi
Db Envi
 
Differentiating features of gifted children and dealing with high IQ societies
Differentiating features of gifted children and dealing with high IQ societiesDifferentiating features of gifted children and dealing with high IQ societies
Differentiating features of gifted children and dealing with high IQ societies
 
The entity relationship model
The entity relationship modelThe entity relationship model
The entity relationship model
 
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.
 
Latest trends on implementing v mware on flex pod home slide
Latest trends on implementing v mware on flex pod home slideLatest trends on implementing v mware on flex pod home slide
Latest trends on implementing v mware on flex pod home slide
 
Information management education
Information management educationInformation management education
Information management education
 
Fora, discussion boards
Fora, discussion boardsFora, discussion boards
Fora, discussion boards
 
Identifiyng gifted children and dyslexia early diagnosis: risk of cheating on...
Identifiyng gifted children and dyslexia early diagnosis: risk of cheating on...Identifiyng gifted children and dyslexia early diagnosis: risk of cheating on...
Identifiyng gifted children and dyslexia early diagnosis: risk of cheating on...
 
Gui testing
Gui testingGui testing
Gui testing
 

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 modelJafar Nesargi
 
3. Chapter Three.pdf
3. Chapter Three.pdf3. Chapter Three.pdf
3. Chapter Three.pdffikadumola
 
erdiagramspresentation-150826044953-lva1-app6891.pdf
erdiagramspresentation-150826044953-lva1-app6891.pdferdiagramspresentation-150826044953-lva1-app6891.pdf
erdiagramspresentation-150826044953-lva1-app6891.pdfvinayakjadhav94
 
Entity Relationship Diagram2
Entity Relationship Diagram2Entity Relationship Diagram2
Entity Relationship Diagram2sadeenedian08
 
DBMS Unit-2_Final.pptx
DBMS Unit-2_Final.pptxDBMS Unit-2_Final.pptx
DBMS Unit-2_Final.pptxparimala123
 
Rdbms ER model
Rdbms ER modelRdbms ER model
Rdbms ER modelUma mohan
 
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.pptxsukrithlal008
 
ERD with complete knowledge
ERD with complete knowledgeERD with complete knowledge
ERD with complete knowledgeAsma Rasool
 

Similar to Erm (20)

Chapter3
Chapter3Chapter3
Chapter3
 
Chapter3
Chapter3Chapter3
Chapter3
 
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
 
Chapter2
Chapter2Chapter2
Chapter2
 
3. Chapter Three.pdf
3. Chapter Three.pdf3. Chapter Three.pdf
3. Chapter Three.pdf
 
erdiagramspresentation-150826044953-lva1-app6891.pdf
erdiagramspresentation-150826044953-lva1-app6891.pdferdiagramspresentation-150826044953-lva1-app6891.pdf
erdiagramspresentation-150826044953-lva1-app6891.pdf
 
Er diagrams presentation
Er diagrams presentationEr diagrams presentation
Er diagrams presentation
 
ERD.pptx
ERD.pptxERD.pptx
ERD.pptx
 
Entity Relationship Diagram2
Entity Relationship Diagram2Entity Relationship Diagram2
Entity Relationship Diagram2
 
DBMS Unit-2_Final.pptx
DBMS Unit-2_Final.pptxDBMS Unit-2_Final.pptx
DBMS Unit-2_Final.pptx
 
TYPE_OF_ATTRIBUTES.pptx
TYPE_OF_ATTRIBUTES.pptxTYPE_OF_ATTRIBUTES.pptx
TYPE_OF_ATTRIBUTES.pptx
 
ERD(2).ppt
ERD(2).pptERD(2).ppt
ERD(2).ppt
 
Data modeling
Data modelingData modeling
Data modeling
 
Rdbms ER model
Rdbms ER modelRdbms ER model
Rdbms ER model
 
rdbmsdol.pptx
rdbmsdol.pptxrdbmsdol.pptx
rdbmsdol.pptx
 
rdbmsdol.pptx
rdbmsdol.pptxrdbmsdol.pptx
rdbmsdol.pptx
 
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
 
Er Modeling
Er ModelingEr Modeling
Er Modeling
 
ERD with complete knowledge
ERD with complete knowledgeERD with complete knowledge
ERD with complete knowledge
 

Recently uploaded

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 

Recently uploaded (20)

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 

Erm

  • 1. The Entity Relationship Model Prepared by: Jane L. Garay Ronnjemmele Rivera Karina Limbo
  • 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 attribute.
  • 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. CHEN MODEL CROW’S FOOT MODEL 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. CONNECTIVITY AND CARDINALITY IN AN ERD Connectivities PROFESSOR CLASS (1, 1) (1, 4) Cardinalities