SlideShare une entreprise Scribd logo
1  sur  26
WELCOME
TO OUR
PRESENTATION
CSE-3105
Database Management System
Submitted by:
Rahij mia
ID: CE-19019
Nazmul Haque
ID:CE-19005
Samial Mohaimin Efti
ID:CE-19009
Md Rubel Hasan
ID: CE-19046
Md. Aminul Islam
ID: CE-19024
Md. Sakib Hasan
ID: CE-18032
Presented to:
Md. Mahfuz Reza
Associate Professor,
Dept. of CSE, MBSTU.
Database Design
and
the E-R Model
Objective
Entity Relationship Model
Entity Relationship Diagram(ERD)
 Extended Features of ERD
ENTITY RELATIONSHIP MODEL
 ER Model- Basic Concepts.
 Entity
 Attributes and its types
 Entity-set and keys
 Relationship And Mapping Cardinality
ER Model - Basic Concepts
The ER model defines the three most relevant steps. It works
around real-world entities and the associations among them.
At view level, the ER model is considered a good option for
designing databases.
• Requirement Analysis
• Conceptual Database Design
• Logical Database Design
Requirement Analysis
The very first step in designing a database
application is to understand what data us to be
stored in the database, what applications must be
built on the top of it, and what operations are we
must find out what the users want from the
database.
Conceptual Database Design
The information gathered in the requirements analysis step
is used to develop a high-level description of the data to be
stored in database, along with the constraints known to
hold over the data.
The ER model is one of the high-level or semantic, data
models used in database.
Logical Database Design
We must choose a DBMS to implement our database design,
and convert the conceptual database design into a database
schema in the data model of chosen DBMS. Sometimes
conceptual schema is called logical schema in Relational Data
Model.
Entity
An entity can be a real-world object, either animate or
inanimate, that can be easily identifiable.
For example school database, students, teachers,
classes, and courses offered can be considered as
entities.
All these entities have some attributes or properties that
give them their identity.
Entity Set
An entity set is a collection of similar types of
entities. An entity set may contain entities with
attribute sharing similar values.
For example, a Students set may contain all the
students of a school; likewise a Teachers set
may contain all the teachers of a school from all
faculties. Entity sets need not be disjoint
Attributes
Entities are represented by means of their properties, called
attributes. All attributes have values. For example, a student
entity may have name, class, and age as attributes.
There exists a domain or range of values that
can be assigned to attributes.
For example,
a student's name cannot be a numeric value.
It has to be alphabetic.
A student's age cannot be negative, etc.
Mapping Cardinalities
Cardinality defines the number of entities in one entity set,
which can be associated with the number of entities of
other set via relationship set.
Types of Cardinalities
1.One-to-one
One entity from entity set A can be associated with
at most one entity of entity set B and vice versa.
2.One-to-many
One entity from entity set A can be associated
with more than one entities of entity set B however
an entity from entity set B, can be associated
with at most one entity
Types of Cardinalities (Cont.)
3. Many to One
More than one entities from entity set A can be associated with
at most one entity of entity set B, however an entity from entity
set B can be associated with more than one entity from entity set A.
4. Many to Many
One entity from A can be associated with
more than one entity from B and vice versa.
ENTITY RELATIONSHIP DIAGRAM
Introduction
Symbols & Notations
Real life example of E-R diagram
Introduction
ER-Diagram is a visual representation of data
that describes how data is related to each other
SYMBOLS AND NOTATIONS
Entities: An entity is an object or concept about
which you want to store information.
Weak entities: A weak entity is an entity that must defined
by a foreign key relationship with another entity
as it cannot be uniquely identified by its own attributes alone.
Actions: Actions are represented by diamond shape, and show how
two, entities share information in the database.
Attribute: This is attribute symbol . Attribute is the unique
distinguishing characteristics
Of the entity.
Multivalued Attribute: A multivalued attribute can have
more then one attribute.
Derived Attribute: Derived attribute derive from
another attribute.
SYMBOLS AND NOTATIONS
(Cont.)
Real life example of E-R diagram
This e-r diagram shows the relation between teacher and student.
EXTENDED FEATURES OF ERD
 As the complexity of data increased, it become more and more
difficult to use the traditional ER model for database modeling.
So some new features are included in the Basic ER model. The
combination of Basic ER model and new feature is called
Extended ER model.
New features are:
 Generalization
 Specialization
 Aggregation
 Generalization is the process of extracting
common properties from a set of entities
and create a generalized entity from it.
 It is a Bottom-up Approach in which two or more
entities can be combined to form a higher level entity if they
have some attribute in common.
Generalization
 Specialization is opposite of Generalization.
 In Specialization, an entity is broken down into
sub-entities based on their characteristics.
 Specialization is a “Top-down Approach” where higher
level entity is specialized into two or more lower level entities.
Specialization
 Aggregation is used to express a relationship
among relationships.
 Aggregation is an abstraction through which
relationships are treated as higher level entities.
 Aggregation is a process when a relationship
between to two entities is considered as a single entity and again this
single entity has a relationship with another entity.
Aggregation
Conclusion
So, in this presentation, we studied about Data Models and its
parts, i.e Entity Relationship Models, Entity Relationship Diagram
and its Extended Features.
Beside this, we also learn about the use of them in database
system the application, which the information technology field
use as one of the major software in computer field.

Contenu connexe

Similaire à database

E_R-Diagram (2).pptx
E_R-Diagram (2).pptxE_R-Diagram (2).pptx
E_R-Diagram (2).pptxsandeep54552
 
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
 
1 - Database Management System.pdf
1 - Database Management System.pdf1 - Database Management System.pdf
1 - Database Management System.pdfgaurav70287
 
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
 
Introduction to database-ER Model
Introduction to database-ER ModelIntroduction to database-ER Model
Introduction to database-ER ModelAjit Nayak
 
3. Chapter Three.pdf
3. Chapter Three.pdf3. Chapter Three.pdf
3. Chapter Three.pdffikadumola
 
DATA MODEL PRESENTATION UNIT I-BCA I.pptx
DATA MODEL PRESENTATION UNIT I-BCA I.pptxDATA MODEL PRESENTATION UNIT I-BCA I.pptx
DATA MODEL PRESENTATION UNIT I-BCA I.pptxJasmineMichael1
 
DBMS Unit-2_Final.pptx
DBMS Unit-2_Final.pptxDBMS Unit-2_Final.pptx
DBMS Unit-2_Final.pptxparimala123
 
Unit1 rdbms study_materials
Unit1 rdbms study_materialsUnit1 rdbms study_materials
Unit1 rdbms study_materialsgayaramesh
 
Unit1 rdbms study_materials-converted (1) (1)
Unit1 rdbms study_materials-converted (1) (1)Unit1 rdbms study_materials-converted (1) (1)
Unit1 rdbms study_materials-converted (1) (1)gayaramesh
 
Administrator of Online Examination has multiple features such as Add, Delete...
Administrator of Online Examination has multiple features such as Add, Delete...Administrator of Online Examination has multiple features such as Add, Delete...
Administrator of Online Examination has multiple features such as Add, Delete...ayushi296420
 

Similaire à database (20)

E_R-Diagram (2).pptx
E_R-Diagram (2).pptxE_R-Diagram (2).pptx
E_R-Diagram (2).pptx
 
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 ..
 
Er model
Er modelEr model
Er model
 
1 - Database Management System.pdf
1 - Database Management System.pdf1 - Database Management System.pdf
1 - Database Management System.pdf
 
ER Diagram_Kameshwari.docx
ER Diagram_Kameshwari.docxER Diagram_Kameshwari.docx
ER Diagram_Kameshwari.docx
 
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...
 
ER Model in DBMS
ER Model in DBMSER Model in DBMS
ER Model in DBMS
 
Introduction to database-ER Model
Introduction to database-ER ModelIntroduction to database-ER Model
Introduction to database-ER Model
 
Er diagrams
Er diagramsEr diagrams
Er diagrams
 
3. Chapter Three.pdf
3. Chapter Three.pdf3. Chapter Three.pdf
3. Chapter Three.pdf
 
DATA MODEL PRESENTATION UNIT I-BCA I.pptx
DATA MODEL PRESENTATION UNIT I-BCA I.pptxDATA MODEL PRESENTATION UNIT I-BCA I.pptx
DATA MODEL PRESENTATION UNIT I-BCA I.pptx
 
Data Models
Data ModelsData Models
Data Models
 
DBMS Unit-2_Final.pptx
DBMS Unit-2_Final.pptxDBMS Unit-2_Final.pptx
DBMS Unit-2_Final.pptx
 
Data model and entity relationship
Data model and entity relationshipData model and entity relationship
Data model and entity relationship
 
Unit1 rdbms study_materials
Unit1 rdbms study_materialsUnit1 rdbms study_materials
Unit1 rdbms study_materials
 
Unit1 rdbms study_materials-converted (1) (1)
Unit1 rdbms study_materials-converted (1) (1)Unit1 rdbms study_materials-converted (1) (1)
Unit1 rdbms study_materials-converted (1) (1)
 
Database design
Database designDatabase design
Database design
 
database.pptx
database.pptxdatabase.pptx
database.pptx
 
Lecture one db
Lecture one dbLecture one db
Lecture one db
 
Administrator of Online Examination has multiple features such as Add, Delete...
Administrator of Online Examination has multiple features such as Add, Delete...Administrator of Online Examination has multiple features such as Add, Delete...
Administrator of Online Examination has multiple features such as Add, Delete...
 

Dernier

WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyviewmasabamasaba
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesVictorSzoltysek
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in sowetomasabamasaba
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Hararemasabamasaba
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...masabamasaba
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...masabamasaba
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...masabamasaba
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 

Dernier (20)

WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 

database

  • 1.
  • 3. CSE-3105 Database Management System Submitted by: Rahij mia ID: CE-19019 Nazmul Haque ID:CE-19005 Samial Mohaimin Efti ID:CE-19009 Md Rubel Hasan ID: CE-19046 Md. Aminul Islam ID: CE-19024 Md. Sakib Hasan ID: CE-18032 Presented to: Md. Mahfuz Reza Associate Professor, Dept. of CSE, MBSTU.
  • 5. Objective Entity Relationship Model Entity Relationship Diagram(ERD)  Extended Features of ERD
  • 6. ENTITY RELATIONSHIP MODEL  ER Model- Basic Concepts.  Entity  Attributes and its types  Entity-set and keys  Relationship And Mapping Cardinality
  • 7. ER Model - Basic Concepts The ER model defines the three most relevant steps. It works around real-world entities and the associations among them. At view level, the ER model is considered a good option for designing databases. • Requirement Analysis • Conceptual Database Design • Logical Database Design
  • 8. Requirement Analysis The very first step in designing a database application is to understand what data us to be stored in the database, what applications must be built on the top of it, and what operations are we must find out what the users want from the database.
  • 9. Conceptual Database Design The information gathered in the requirements analysis step is used to develop a high-level description of the data to be stored in database, along with the constraints known to hold over the data. The ER model is one of the high-level or semantic, data models used in database.
  • 10. Logical Database Design We must choose a DBMS to implement our database design, and convert the conceptual database design into a database schema in the data model of chosen DBMS. Sometimes conceptual schema is called logical schema in Relational Data Model.
  • 11. Entity An entity can be a real-world object, either animate or inanimate, that can be easily identifiable. For example school database, students, teachers, classes, and courses offered can be considered as entities. All these entities have some attributes or properties that give them their identity.
  • 12. Entity Set An entity set is a collection of similar types of entities. An entity set may contain entities with attribute sharing similar values. For example, a Students set may contain all the students of a school; likewise a Teachers set may contain all the teachers of a school from all faculties. Entity sets need not be disjoint
  • 13. Attributes Entities are represented by means of their properties, called attributes. All attributes have values. For example, a student entity may have name, class, and age as attributes. There exists a domain or range of values that can be assigned to attributes. For example, a student's name cannot be a numeric value. It has to be alphabetic. A student's age cannot be negative, etc.
  • 14. Mapping Cardinalities Cardinality defines the number of entities in one entity set, which can be associated with the number of entities of other set via relationship set.
  • 15. Types of Cardinalities 1.One-to-one One entity from entity set A can be associated with at most one entity of entity set B and vice versa. 2.One-to-many One entity from entity set A can be associated with more than one entities of entity set B however an entity from entity set B, can be associated with at most one entity
  • 16. Types of Cardinalities (Cont.) 3. Many to One More than one entities from entity set A can be associated with at most one entity of entity set B, however an entity from entity set B can be associated with more than one entity from entity set A. 4. Many to Many One entity from A can be associated with more than one entity from B and vice versa.
  • 17. ENTITY RELATIONSHIP DIAGRAM Introduction Symbols & Notations Real life example of E-R diagram
  • 18. Introduction ER-Diagram is a visual representation of data that describes how data is related to each other
  • 19. SYMBOLS AND NOTATIONS Entities: An entity is an object or concept about which you want to store information. Weak entities: A weak entity is an entity that must defined by a foreign key relationship with another entity as it cannot be uniquely identified by its own attributes alone.
  • 20. Actions: Actions are represented by diamond shape, and show how two, entities share information in the database. Attribute: This is attribute symbol . Attribute is the unique distinguishing characteristics Of the entity. Multivalued Attribute: A multivalued attribute can have more then one attribute. Derived Attribute: Derived attribute derive from another attribute. SYMBOLS AND NOTATIONS (Cont.)
  • 21. Real life example of E-R diagram This e-r diagram shows the relation between teacher and student.
  • 22. EXTENDED FEATURES OF ERD  As the complexity of data increased, it become more and more difficult to use the traditional ER model for database modeling. So some new features are included in the Basic ER model. The combination of Basic ER model and new feature is called Extended ER model. New features are:  Generalization  Specialization  Aggregation
  • 23.  Generalization is the process of extracting common properties from a set of entities and create a generalized entity from it.  It is a Bottom-up Approach in which two or more entities can be combined to form a higher level entity if they have some attribute in common. Generalization
  • 24.  Specialization is opposite of Generalization.  In Specialization, an entity is broken down into sub-entities based on their characteristics.  Specialization is a “Top-down Approach” where higher level entity is specialized into two or more lower level entities. Specialization
  • 25.  Aggregation is used to express a relationship among relationships.  Aggregation is an abstraction through which relationships are treated as higher level entities.  Aggregation is a process when a relationship between to two entities is considered as a single entity and again this single entity has a relationship with another entity. Aggregation
  • 26. Conclusion So, in this presentation, we studied about Data Models and its parts, i.e Entity Relationship Models, Entity Relationship Diagram and its Extended Features. Beside this, we also learn about the use of them in database system the application, which the information technology field use as one of the major software in computer field.