SlideShare uma empresa Scribd logo
1 de 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.

Mais conteúdo relacionado

Semelhante a database

1 - Database Management System.pdf
1 - Database Management System.pdf1 - Database Management System.pdf
1 - Database Management System.pdf
gaurav70287
 
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
JasmineMichael1
 
Unit1 rdbms study_materials
Unit1 rdbms study_materialsUnit1 rdbms study_materials
Unit1 rdbms study_materials
gayaramesh
 

Semelhante a 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...
 

Último

The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 

Último (20)

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-...
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
SHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions PresentationSHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions Presentation
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
%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
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
Generic or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisions
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
%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
 
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
 

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.