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

Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship Diagram
Shakila Mahjabin
 
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
endokayle
 
Entity relation(1)
Entity relation(1)Entity relation(1)
Entity relation(1)
Loving Mishaa
 
ER Diagram
ER DiagramER Diagram
ER Diagram
Robby Firmansyah
 
Mapping ER and EER Model
Mapping ER and EER ModelMapping ER and EER Model
Mapping ER and EER Model
Mary Brinda
 
Er diagrams presentation
Er diagrams presentationEr diagrams presentation
Er diagrams presentation
Akanksha Jaiswal
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
Neil Neelesh
 
Types of attributes (160210107054)
Types of attributes  (160210107054)Types of attributes  (160210107054)
Types of attributes (160210107054)
ajay_483
 
Entity relationship diagram
Entity relationship diagramEntity relationship diagram
Entity relationship diagram
Haseeb
 
ER Modelling
ER ModellingER Modelling
ER Modelling
lubna19
 
Data model and entity relationship
Data model and entity relationshipData model and entity relationship
Data model and entity relationship
Knowledge Center Computer
 
ER model to Relational model mapping
ER model to Relational model mappingER model to Relational model mapping
ER model to Relational model mappingShubham Saini
 
E-R diagram in Database
E-R diagram in DatabaseE-R diagram in Database
E-R diagram in DatabaseFatiha Qureshi
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
A. S. M. Shafi
 
Entity Relationship Diagram2
Entity Relationship Diagram2Entity Relationship Diagram2
Entity Relationship Diagram2
sadeenedian08
 
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 Model Nandha&Mani
Er Model Nandha&ManiEr Model Nandha&Mani
Er Model Nandha&Maniguest1e0229a
 
Entity relationship diagram
Entity relationship diagramEntity relationship diagram
Entity relationship diagram
Talesun Solar USA Ltd.
 

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

ERD.pptx
ERD.pptxERD.pptx
ERD.pptx
sarahabbas40
 
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
 
DBMS Unit-2_Final.pptx
DBMS Unit-2_Final.pptxDBMS Unit-2_Final.pptx
DBMS Unit-2_Final.pptx
parimala123
 
Lecture one db
Lecture one dbLecture one db
Lecture one db
Huda Alameen
 
Er Modeling
Er ModelingEr Modeling
Er diagrams presentation
Er diagrams presentationEr diagrams presentation
Er diagrams presentation
Akanksha Jaiswal
 
erdiagramspresentation-150826044953-lva1-app6891.pdf
erdiagramspresentation-150826044953-lva1-app6891.pdferdiagramspresentation-150826044953-lva1-app6891.pdf
erdiagramspresentation-150826044953-lva1-app6891.pdf
vinayakjadhav94
 
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
 
ERD(2).ppt
ERD(2).pptERD(2).ppt
ERD(2).ppt
Vijaykumar311275
 
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
MANASINANDKISHORDEOR
 
3. Chapter Three.pdf
3. Chapter Three.pdf3. Chapter Three.pdf
3. Chapter Three.pdf
fikadumola
 
Rdbms ER model
Rdbms ER modelRdbms ER model
Rdbms ER model
Uma mohan
 
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 ..
Nimrakhan89
 
DBMS Unit 2 ppt.ppt
DBMS Unit 2 ppt.pptDBMS Unit 2 ppt.ppt
DBMS Unit 2 ppt.ppt
PraveenS761061
 
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
 
rdbmsdol.pptx
rdbmsdol.pptxrdbmsdol.pptx
rdbmsdol.pptx
Dolchandra
 
rdbmsdol.pptx
rdbmsdol.pptxrdbmsdol.pptx
rdbmsdol.pptx
Dolchandra
 
Chapter2
Chapter2Chapter2
Chapter2
Birhanu Dagnew
 

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

The research process
The research processThe research process
The research processJane Garay
 
Bibliographies (2)
Bibliographies (2)Bibliographies (2)
Bibliographies (2)Jane Garay
 
Hardware & software
Hardware & softwareHardware & software
Hardware & softwareJane Garay
 
Information management education
Information management educationInformation management education
Information management educationJane Garay
 
My database design final
My database design finalMy database design final
My database design final
Jane Garay
 
My database design
My database designMy database design
My database designJane Garay
 
My database design
My database designMy database design
My database design
Jane Garay
 
My database design x
My database design xMy database design x
My database design xJane Garay
 
Informational web pages
Informational web pagesInformational web pages
Informational web pages
Jane 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
 
The entity relationship model
The entity relationship modelThe entity relationship model
The entity relationship model
Jane Garay
 
Fora, discussion boards
Fora, discussion boardsFora, discussion boards
Fora, discussion boards
Jane Garay
 

More from 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
 

Recently uploaded

The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 

Recently uploaded (20)

The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 

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