SlideShare a Scribd company logo
Conceptual Data Modeling
Using
Entities & Relationships
High Level Conceptual Data Models
• Conceptual Design is a important phase in designing successful database applications
• Entity Relationship Model is the popular high level conceptual data model
• Object Modelling is also gaining the importance – Unified Modelling Language
A Sample Database Application
• Considering Company as a Mini world Problem we need to design the Database.
• Company Database consists of:
 Company Info
 Employee Info
 Project Info
• The Formulated Requirements are:
 The company is organized into departments. Each department has a unique name, a unique number, and a
particular employee who manages the department. We keep track of the start date when that employee
began managing the department. A department may have several location
 A department controls a number of projects, each of which has a unique name, a unique number, and a
single location
 We store each employee’s name, Social Security number, address, salary, sex (gender), and birth date. An
employee is assigned to one department, but may work on several projects, which are not necessarily
controlled by the same department. We keep track of the current number of hours per week that an
employee works on each project. We also keep track of the direct supervisor of each employee (who is
another employee).
 We want to keep track of the dependents of each employee for insurance purposes
A Sample Database Application
Entity Types, Entity Sets, Attributes &
Keys
• Entities and Attributes
 The basic object that the ER model represents is an Entity – Physical or Conceptual Existence
 Each Entity has Attributes – Particular Properties
 Types of Attributes
 Simple Vs Composite
 Single Vs Multi valued
 Stored Vs Derived
 NULL Values
 Composite Attributes
Entity Types, Entity Sets, Attributes &
Keys
• Entity Types, Entity Sets, Keys, and Value Sets
 An entity type defines a collection (or set) of entities that have the same attributes
 The collection of all entities of a particular entity type in the database at any point in
time is called an entity set
• Key Attributes of an Entity Type
 Uniqueness constraint - key attribute
 Weak Entity
• Value Sets of Attribute
• Mathematically, an attribute A of entity set E whose
value set is V can be defined as a function from E to
the power set P(V) of V -- A : E → P(V)
[Entity Set]
Employee
(Name, Age, Salary..)
E1 – [John Smith, 55, 80k]
E2 – [Fred Brown, 50, 60k]
[Entity Set]
Department
(Name, Location, Manager..)
D1 – [Finance, Delhi, John Smith]
D2 – [Sales, Hubballi, Fred Brown]
Conceptual Design of COMPANY
Database
 Department, Project, Employee and Dependents – Entity Types
Relationship Types, Relationship Sets,
Roles and Structural Constraints
 Relationship Types, Sets, and Instances
 A relationship type R among n entity types E1, E2, ..., En defines a set of associations —or a
relationship set
 Mathematically, the relationship set R is a set of relationship instances ri, where each ri
associates n individual entities (e1,e2,...,en)
 Relationship Degree, Role Names, and Recursive Relationships
 Degree of a Relationship Type
 Binary and Ternary Degree
 The degree of a relationship type is the number of
participating entity type
Relationship Types, Relationship Sets,
Roles and Structural Constraints
 Relationship as Attribute
 Role Names and Recursive Relationships
 Cardinality Ratios for Binary Relationships
 Participation Constraints and Existence Dependencies
Weak Entity Types
 The Entity Type that doesn’t have any key attribute - Weak Entity
 Strong Entity Type & Identifying Relationship
 A weak entity type normally has a partial key
 Redefining the ER Diagram – Company Database
 MANAGES, a 1:1 relationship type between EMPLOYEE and DEPARTMENT
 WORKS_FOR, a 1:N relationship type between DEPARTMENT and EMPLOYEE. Both
participations are total
 CONTROLS, a 1:N relationship type between DEPARTMENT and PROJECT
 SUPERVISION, a 1:N relationship type between EMPLOYEE
 WORKS_ON, determined to be an M:N relationship type with attribute Hours
 DEPENDENTS_OF, a 1:N relationship type between EMPLOYEE and DEPENDENT
ER Diagram
Thank You!!!
Ad

More Related Content

What's hot (20)

Er diagram
Er diagramEr diagram
Er diagram
Sabana Maharjan
 
EER modeling
EER modelingEER modeling
EER modeling
Dabbal Singh Mahara
 
Database System Architecture
Database System ArchitectureDatabase System Architecture
Database System Architecture
Vignesh Saravanan
 
OLAP IN DATA MINING
OLAP IN DATA MININGOLAP IN DATA MINING
OLAP IN DATA MINING
wilifred
 
Dbms ii mca-ch4-relational model-2013
Dbms ii mca-ch4-relational model-2013Dbms ii mca-ch4-relational model-2013
Dbms ii mca-ch4-relational model-2013
Prosanta Ghosh
 
Entity Relationship Diagrams
Entity Relationship DiagramsEntity Relationship Diagrams
Entity Relationship Diagrams
sadique_ghitm
 
DBMS and its Models
DBMS and its ModelsDBMS and its Models
DBMS and its Models
AhmadShah Sultani
 
Relational Database Management System
Relational Database Management SystemRelational Database Management System
Relational Database Management System
Free Open Source Software Technology Lab
 
Database Systems - Entity Relationship Modeling (Chapter 4/2)
Database Systems - Entity Relationship Modeling (Chapter 4/2)Database Systems - Entity Relationship Modeling (Chapter 4/2)
Database Systems - Entity Relationship Modeling (Chapter 4/2)
Vidyasagar Mundroy
 
Integrity Constraints
Integrity ConstraintsIntegrity Constraints
Integrity Constraints
Megha yadav
 
Object relational and extended relational databases
Object relational and extended relational databasesObject relational and extended relational databases
Object relational and extended relational databases
Suhad Jihad
 
Relational algebra in dbms
Relational algebra in dbmsRelational algebra in dbms
Relational algebra in dbms
Vignesh Saravanan
 
Er diagrams presentation
Er diagrams presentationEr diagrams presentation
Er diagrams presentation
Akanksha Jaiswal
 
Fundamentals of Database system
Fundamentals of Database systemFundamentals of Database system
Fundamentals of Database system
philipsinter
 
Relational database
Relational database Relational database
Relational database
Megha Sharma
 
ER MODEL
ER MODELER MODEL
ER MODEL
Rupali Rana
 
Conceptual design & ER Model.pptx
Conceptual design & ER Model.pptxConceptual design & ER Model.pptx
Conceptual design & ER Model.pptx
AvinashChoure2
 
Using the set operators
Using the set operatorsUsing the set operators
Using the set operators
Syed Zaid Irshad
 
Database Design
Database DesignDatabase Design
Database Design
learnt
 
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
 
Database System Architecture
Database System ArchitectureDatabase System Architecture
Database System Architecture
Vignesh Saravanan
 
OLAP IN DATA MINING
OLAP IN DATA MININGOLAP IN DATA MINING
OLAP IN DATA MINING
wilifred
 
Dbms ii mca-ch4-relational model-2013
Dbms ii mca-ch4-relational model-2013Dbms ii mca-ch4-relational model-2013
Dbms ii mca-ch4-relational model-2013
Prosanta Ghosh
 
Entity Relationship Diagrams
Entity Relationship DiagramsEntity Relationship Diagrams
Entity Relationship Diagrams
sadique_ghitm
 
Database Systems - Entity Relationship Modeling (Chapter 4/2)
Database Systems - Entity Relationship Modeling (Chapter 4/2)Database Systems - Entity Relationship Modeling (Chapter 4/2)
Database Systems - Entity Relationship Modeling (Chapter 4/2)
Vidyasagar Mundroy
 
Integrity Constraints
Integrity ConstraintsIntegrity Constraints
Integrity Constraints
Megha yadav
 
Object relational and extended relational databases
Object relational and extended relational databasesObject relational and extended relational databases
Object relational and extended relational databases
Suhad Jihad
 
Fundamentals of Database system
Fundamentals of Database systemFundamentals of Database system
Fundamentals of Database system
philipsinter
 
Relational database
Relational database Relational database
Relational database
Megha Sharma
 
Conceptual design & ER Model.pptx
Conceptual design & ER Model.pptxConceptual design & ER Model.pptx
Conceptual design & ER Model.pptx
AvinashChoure2
 
Database Design
Database DesignDatabase Design
Database Design
learnt
 
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
 

Similar to Conceptual Data Modeling (20)

Cn presentation on the topic called as re modelling
Cn presentation on the topic called as re modellingCn presentation on the topic called as re modelling
Cn presentation on the topic called as re modelling
g30162363
 
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
 
Pokok bahasan #3a er modeling
Pokok bahasan #3a er modelingPokok bahasan #3a er modeling
Pokok bahasan #3a er modeling
Slamet Widodo
 
Jobs manager vs supervisor.pptx
Jobs manager vs supervisor.pptxJobs manager vs supervisor.pptx
Jobs manager vs supervisor.pptx
prosofts1
 
DBMS Unit-2_Final.pptx
DBMS Unit-2_Final.pptxDBMS Unit-2_Final.pptx
DBMS Unit-2_Final.pptx
parimala123
 
Revision ch 3
Revision ch 3Revision ch 3
Revision ch 3
Rupali Rana
 
Entityrelationshipmodel
EntityrelationshipmodelEntityrelationshipmodel
Entityrelationshipmodel
Enes Bolfidan
 
Lecture 2 database management system.pdf
Lecture 2 database management system.pdfLecture 2 database management system.pdf
Lecture 2 database management system.pdf
samerelking3
 
Use analyzed requirements in the design of database.pptx
Use analyzed requirements in the design of database.pptxUse analyzed requirements in the design of database.pptx
Use analyzed requirements in the design of database.pptx
MwangaPrayGod
 
ER MODEL.pptx
ER MODEL.pptxER MODEL.pptx
ER MODEL.pptx
TusharSingh711352
 
DBMS PPT
DBMS PPTDBMS PPT
DBMS PPT
Prabhu Goyal
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
Slideshare
 
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
 
RDBMS Unit-2.pdf Entity Relationship Diagram
RDBMS Unit-2.pdf Entity Relationship DiagramRDBMS Unit-2.pdf Entity Relationship Diagram
RDBMS Unit-2.pdf Entity Relationship Diagram
ChaithraCSHirematt
 
Entity-Relationship Data Model
Entity-Relationship Data ModelEntity-Relationship Data Model
Entity-Relationship Data Model
Bishrul Haq
 
Chapter3
Chapter3Chapter3
Chapter3
Jafar Nesargi
 
Chapter3
Chapter3Chapter3
Chapter3
Jafar Nesargi
 
Database design
Database designDatabase design
Database design
FLYMAN TECHNOLOGY LIMITED
 
ER diagram is created based on three principal components: entities, attribut...
ER diagram is created based on three principal components: entities, attribut...ER diagram is created based on three principal components: entities, attribut...
ER diagram is created based on three principal components: entities, attribut...
athuathul507
 
Entity Relationship Diagram - DBMS - PPT
Entity Relationship Diagram - DBMS - PPTEntity Relationship Diagram - DBMS - PPT
Entity Relationship Diagram - DBMS - PPT
nirmala119429
 
Cn presentation on the topic called as re modelling
Cn presentation on the topic called as re modellingCn presentation on the topic called as re modelling
Cn presentation on the topic called as re modelling
g30162363
 
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
 
Pokok bahasan #3a er modeling
Pokok bahasan #3a er modelingPokok bahasan #3a er modeling
Pokok bahasan #3a er modeling
Slamet Widodo
 
Jobs manager vs supervisor.pptx
Jobs manager vs supervisor.pptxJobs manager vs supervisor.pptx
Jobs manager vs supervisor.pptx
prosofts1
 
DBMS Unit-2_Final.pptx
DBMS Unit-2_Final.pptxDBMS Unit-2_Final.pptx
DBMS Unit-2_Final.pptx
parimala123
 
Entityrelationshipmodel
EntityrelationshipmodelEntityrelationshipmodel
Entityrelationshipmodel
Enes Bolfidan
 
Lecture 2 database management system.pdf
Lecture 2 database management system.pdfLecture 2 database management system.pdf
Lecture 2 database management system.pdf
samerelking3
 
Use analyzed requirements in the design of database.pptx
Use analyzed requirements in the design of database.pptxUse analyzed requirements in the design of database.pptx
Use analyzed requirements in the design of database.pptx
MwangaPrayGod
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
Slideshare
 
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
 
RDBMS Unit-2.pdf Entity Relationship Diagram
RDBMS Unit-2.pdf Entity Relationship DiagramRDBMS Unit-2.pdf Entity Relationship Diagram
RDBMS Unit-2.pdf Entity Relationship Diagram
ChaithraCSHirematt
 
Entity-Relationship Data Model
Entity-Relationship Data ModelEntity-Relationship Data Model
Entity-Relationship Data Model
Bishrul Haq
 
ER diagram is created based on three principal components: entities, attribut...
ER diagram is created based on three principal components: entities, attribut...ER diagram is created based on three principal components: entities, attribut...
ER diagram is created based on three principal components: entities, attribut...
athuathul507
 
Entity Relationship Diagram - DBMS - PPT
Entity Relationship Diagram - DBMS - PPTEntity Relationship Diagram - DBMS - PPT
Entity Relationship Diagram - DBMS - PPT
nirmala119429
 
Ad

More from Dr. Thippeswamy S. (19)

Bacterial Examination of Water of different sources.ppt
Bacterial Examination of Water of different sources.pptBacterial Examination of Water of different sources.ppt
Bacterial Examination of Water of different sources.ppt
Dr. Thippeswamy S.
 
Seven QC Tools New approach.pptx
Seven QC Tools New approach.pptxSeven QC Tools New approach.pptx
Seven QC Tools New approach.pptx
Dr. Thippeswamy S.
 
Soil Erosion.pptx
Soil Erosion.pptxSoil Erosion.pptx
Soil Erosion.pptx
Dr. Thippeswamy S.
 
Database Normalization.pptx
Database Normalization.pptxDatabase Normalization.pptx
Database Normalization.pptx
Dr. Thippeswamy S.
 
cloudapplications.pptx
cloudapplications.pptxcloudapplications.pptx
cloudapplications.pptx
Dr. Thippeswamy S.
 
12575474.ppt
12575474.ppt12575474.ppt
12575474.ppt
Dr. Thippeswamy S.
 
djypllh5r1gjbaekxgwv-signature-cc6692615bbc55079760b9b0c6636bc58ec509cd0446cb...
djypllh5r1gjbaekxgwv-signature-cc6692615bbc55079760b9b0c6636bc58ec509cd0446cb...djypllh5r1gjbaekxgwv-signature-cc6692615bbc55079760b9b0c6636bc58ec509cd0446cb...
djypllh5r1gjbaekxgwv-signature-cc6692615bbc55079760b9b0c6636bc58ec509cd0446cb...
Dr. Thippeswamy S.
 
deploymentmodelsofcloudcomputing-230211123637-08174981.pptx
deploymentmodelsofcloudcomputing-230211123637-08174981.pptxdeploymentmodelsofcloudcomputing-230211123637-08174981.pptx
deploymentmodelsofcloudcomputing-230211123637-08174981.pptx
Dr. Thippeswamy S.
 
DBMS.pptx
DBMS.pptxDBMS.pptx
DBMS.pptx
Dr. Thippeswamy S.
 
Normalization DBMS.ppt
Normalization DBMS.pptNormalization DBMS.ppt
Normalization DBMS.ppt
Dr. Thippeswamy S.
 
Normalization Alg.ppt
Normalization Alg.pptNormalization Alg.ppt
Normalization Alg.ppt
Dr. Thippeswamy S.
 
introduction to matlab.pptx
introduction to matlab.pptxintroduction to matlab.pptx
introduction to matlab.pptx
Dr. Thippeswamy S.
 
Introduction to SQL
Introduction to SQLIntroduction to SQL
Introduction to SQL
Dr. Thippeswamy S.
 
Chp-1.pptx
Chp-1.pptxChp-1.pptx
Chp-1.pptx
Dr. Thippeswamy S.
 
Mod-2.pptx
Mod-2.pptxMod-2.pptx
Mod-2.pptx
Dr. Thippeswamy S.
 
module 5.1.pptx
module 5.1.pptxmodule 5.1.pptx
module 5.1.pptx
Dr. Thippeswamy S.
 
module 5.pptx
module 5.pptxmodule 5.pptx
module 5.pptx
Dr. Thippeswamy S.
 
Module 2 (1).pptx
Module 2 (1).pptxModule 2 (1).pptx
Module 2 (1).pptx
Dr. Thippeswamy S.
 
23. Journal of Mycology and Plant pathology.pdf
23. Journal of Mycology and Plant pathology.pdf23. Journal of Mycology and Plant pathology.pdf
23. Journal of Mycology and Plant pathology.pdf
Dr. Thippeswamy S.
 
Ad

Recently uploaded (20)

Transport modelling at SBB, presentation at EPFL in 2025
Transport modelling at SBB, presentation at EPFL in 2025Transport modelling at SBB, presentation at EPFL in 2025
Transport modelling at SBB, presentation at EPFL in 2025
Antonin Danalet
 
Frontend Architecture Diagram/Guide For Frontend Engineers
Frontend Architecture Diagram/Guide For Frontend EngineersFrontend Architecture Diagram/Guide For Frontend Engineers
Frontend Architecture Diagram/Guide For Frontend Engineers
Michael Hertzberg
 
Smart City is the Future EN - 2024 Thailand Modify V1.0.pdf
Smart City is the Future EN - 2024 Thailand Modify V1.0.pdfSmart City is the Future EN - 2024 Thailand Modify V1.0.pdf
Smart City is the Future EN - 2024 Thailand Modify V1.0.pdf
PawachMetharattanara
 
Modelling of Concrete Compressive Strength Admixed with GGBFS Using Gene Expr...
Modelling of Concrete Compressive Strength Admixed with GGBFS Using Gene Expr...Modelling of Concrete Compressive Strength Admixed with GGBFS Using Gene Expr...
Modelling of Concrete Compressive Strength Admixed with GGBFS Using Gene Expr...
Journal of Soft Computing in Civil Engineering
 
Machine foundation notes for civil engineering students
Machine foundation notes for civil engineering studentsMachine foundation notes for civil engineering students
Machine foundation notes for civil engineering students
DYPCET
 
Prediction of Flexural Strength of Concrete Produced by Using Pozzolanic Mate...
Prediction of Flexural Strength of Concrete Produced by Using Pozzolanic Mate...Prediction of Flexural Strength of Concrete Produced by Using Pozzolanic Mate...
Prediction of Flexural Strength of Concrete Produced by Using Pozzolanic Mate...
Journal of Soft Computing in Civil Engineering
 
Slide share PPT of SOx control technologies.pptx
Slide share PPT of SOx control technologies.pptxSlide share PPT of SOx control technologies.pptx
Slide share PPT of SOx control technologies.pptx
vvsasane
 
Modeling the Influence of Environmental Factors on Concrete Evaporation Rate
Modeling the Influence of Environmental Factors on Concrete Evaporation RateModeling the Influence of Environmental Factors on Concrete Evaporation Rate
Modeling the Influence of Environmental Factors on Concrete Evaporation Rate
Journal of Soft Computing in Civil Engineering
 
Slide share PPT of NOx control technologies.pptx
Slide share PPT of  NOx control technologies.pptxSlide share PPT of  NOx control technologies.pptx
Slide share PPT of NOx control technologies.pptx
vvsasane
 
Machine Learning basics POWERPOINT PRESENETATION
Machine Learning basics POWERPOINT PRESENETATIONMachine Learning basics POWERPOINT PRESENETATION
Machine Learning basics POWERPOINT PRESENETATION
DarrinBright1
 
Design of Variable Depth Single-Span Post.pdf
Design of Variable Depth Single-Span Post.pdfDesign of Variable Depth Single-Span Post.pdf
Design of Variable Depth Single-Span Post.pdf
Kamel Farid
 
Construction Materials (Paints) in Civil Engineering
Construction Materials (Paints) in Civil EngineeringConstruction Materials (Paints) in Civil Engineering
Construction Materials (Paints) in Civil Engineering
Lavish Kashyap
 
Lecture - 7 Canals of the topic of the civil engineering
Lecture - 7  Canals of the topic of the civil engineeringLecture - 7  Canals of the topic of the civil engineering
Lecture - 7 Canals of the topic of the civil engineering
MJawadkhan1
 
Empowering Electric Vehicle Charging Infrastructure with Renewable Energy Int...
Empowering Electric Vehicle Charging Infrastructure with Renewable Energy Int...Empowering Electric Vehicle Charging Infrastructure with Renewable Energy Int...
Empowering Electric Vehicle Charging Infrastructure with Renewable Energy Int...
AI Publications
 
22PCOAM16 ML Unit 3 Full notes PDF & QB.pdf
22PCOAM16 ML Unit 3 Full notes PDF & QB.pdf22PCOAM16 ML Unit 3 Full notes PDF & QB.pdf
22PCOAM16 ML Unit 3 Full notes PDF & QB.pdf
Guru Nanak Technical Institutions
 
ML_Unit_V_RDC_ASSOCIATION AND DIMENSIONALITY REDUCTION.pdf
ML_Unit_V_RDC_ASSOCIATION AND DIMENSIONALITY REDUCTION.pdfML_Unit_V_RDC_ASSOCIATION AND DIMENSIONALITY REDUCTION.pdf
ML_Unit_V_RDC_ASSOCIATION AND DIMENSIONALITY REDUCTION.pdf
rameshwarchintamani
 
Design Optimization of Reinforced Concrete Waffle Slab Using Genetic Algorithm
Design Optimization of Reinforced Concrete Waffle Slab Using Genetic AlgorithmDesign Optimization of Reinforced Concrete Waffle Slab Using Genetic Algorithm
Design Optimization of Reinforced Concrete Waffle Slab Using Genetic Algorithm
Journal of Soft Computing in Civil Engineering
 
ML_Unit_VI_DEEP LEARNING_Introduction to ANN.pdf
ML_Unit_VI_DEEP LEARNING_Introduction to ANN.pdfML_Unit_VI_DEEP LEARNING_Introduction to ANN.pdf
ML_Unit_VI_DEEP LEARNING_Introduction to ANN.pdf
rameshwarchintamani
 
Personal Protective Efsgfgsffquipment.ppt
Personal Protective Efsgfgsffquipment.pptPersonal Protective Efsgfgsffquipment.ppt
Personal Protective Efsgfgsffquipment.ppt
ganjangbegu579
 
Working with USDOT UTCs: From Conception to Implementation
Working with USDOT UTCs: From Conception to ImplementationWorking with USDOT UTCs: From Conception to Implementation
Working with USDOT UTCs: From Conception to Implementation
Alabama Transportation Assistance Program
 
Transport modelling at SBB, presentation at EPFL in 2025
Transport modelling at SBB, presentation at EPFL in 2025Transport modelling at SBB, presentation at EPFL in 2025
Transport modelling at SBB, presentation at EPFL in 2025
Antonin Danalet
 
Frontend Architecture Diagram/Guide For Frontend Engineers
Frontend Architecture Diagram/Guide For Frontend EngineersFrontend Architecture Diagram/Guide For Frontend Engineers
Frontend Architecture Diagram/Guide For Frontend Engineers
Michael Hertzberg
 
Smart City is the Future EN - 2024 Thailand Modify V1.0.pdf
Smart City is the Future EN - 2024 Thailand Modify V1.0.pdfSmart City is the Future EN - 2024 Thailand Modify V1.0.pdf
Smart City is the Future EN - 2024 Thailand Modify V1.0.pdf
PawachMetharattanara
 
Machine foundation notes for civil engineering students
Machine foundation notes for civil engineering studentsMachine foundation notes for civil engineering students
Machine foundation notes for civil engineering students
DYPCET
 
Slide share PPT of SOx control technologies.pptx
Slide share PPT of SOx control technologies.pptxSlide share PPT of SOx control technologies.pptx
Slide share PPT of SOx control technologies.pptx
vvsasane
 
Slide share PPT of NOx control technologies.pptx
Slide share PPT of  NOx control technologies.pptxSlide share PPT of  NOx control technologies.pptx
Slide share PPT of NOx control technologies.pptx
vvsasane
 
Machine Learning basics POWERPOINT PRESENETATION
Machine Learning basics POWERPOINT PRESENETATIONMachine Learning basics POWERPOINT PRESENETATION
Machine Learning basics POWERPOINT PRESENETATION
DarrinBright1
 
Design of Variable Depth Single-Span Post.pdf
Design of Variable Depth Single-Span Post.pdfDesign of Variable Depth Single-Span Post.pdf
Design of Variable Depth Single-Span Post.pdf
Kamel Farid
 
Construction Materials (Paints) in Civil Engineering
Construction Materials (Paints) in Civil EngineeringConstruction Materials (Paints) in Civil Engineering
Construction Materials (Paints) in Civil Engineering
Lavish Kashyap
 
Lecture - 7 Canals of the topic of the civil engineering
Lecture - 7  Canals of the topic of the civil engineeringLecture - 7  Canals of the topic of the civil engineering
Lecture - 7 Canals of the topic of the civil engineering
MJawadkhan1
 
Empowering Electric Vehicle Charging Infrastructure with Renewable Energy Int...
Empowering Electric Vehicle Charging Infrastructure with Renewable Energy Int...Empowering Electric Vehicle Charging Infrastructure with Renewable Energy Int...
Empowering Electric Vehicle Charging Infrastructure with Renewable Energy Int...
AI Publications
 
ML_Unit_V_RDC_ASSOCIATION AND DIMENSIONALITY REDUCTION.pdf
ML_Unit_V_RDC_ASSOCIATION AND DIMENSIONALITY REDUCTION.pdfML_Unit_V_RDC_ASSOCIATION AND DIMENSIONALITY REDUCTION.pdf
ML_Unit_V_RDC_ASSOCIATION AND DIMENSIONALITY REDUCTION.pdf
rameshwarchintamani
 
ML_Unit_VI_DEEP LEARNING_Introduction to ANN.pdf
ML_Unit_VI_DEEP LEARNING_Introduction to ANN.pdfML_Unit_VI_DEEP LEARNING_Introduction to ANN.pdf
ML_Unit_VI_DEEP LEARNING_Introduction to ANN.pdf
rameshwarchintamani
 
Personal Protective Efsgfgsffquipment.ppt
Personal Protective Efsgfgsffquipment.pptPersonal Protective Efsgfgsffquipment.ppt
Personal Protective Efsgfgsffquipment.ppt
ganjangbegu579
 

Conceptual Data Modeling

  • 2. High Level Conceptual Data Models • Conceptual Design is a important phase in designing successful database applications • Entity Relationship Model is the popular high level conceptual data model • Object Modelling is also gaining the importance – Unified Modelling Language
  • 3. A Sample Database Application • Considering Company as a Mini world Problem we need to design the Database. • Company Database consists of:  Company Info  Employee Info  Project Info • The Formulated Requirements are:  The company is organized into departments. Each department has a unique name, a unique number, and a particular employee who manages the department. We keep track of the start date when that employee began managing the department. A department may have several location  A department controls a number of projects, each of which has a unique name, a unique number, and a single location  We store each employee’s name, Social Security number, address, salary, sex (gender), and birth date. An employee is assigned to one department, but may work on several projects, which are not necessarily controlled by the same department. We keep track of the current number of hours per week that an employee works on each project. We also keep track of the direct supervisor of each employee (who is another employee).  We want to keep track of the dependents of each employee for insurance purposes
  • 4. A Sample Database Application
  • 5. Entity Types, Entity Sets, Attributes & Keys • Entities and Attributes  The basic object that the ER model represents is an Entity – Physical or Conceptual Existence  Each Entity has Attributes – Particular Properties  Types of Attributes  Simple Vs Composite  Single Vs Multi valued  Stored Vs Derived  NULL Values  Composite Attributes
  • 6. Entity Types, Entity Sets, Attributes & Keys • Entity Types, Entity Sets, Keys, and Value Sets  An entity type defines a collection (or set) of entities that have the same attributes  The collection of all entities of a particular entity type in the database at any point in time is called an entity set • Key Attributes of an Entity Type  Uniqueness constraint - key attribute  Weak Entity • Value Sets of Attribute • Mathematically, an attribute A of entity set E whose value set is V can be defined as a function from E to the power set P(V) of V -- A : E → P(V) [Entity Set] Employee (Name, Age, Salary..) E1 – [John Smith, 55, 80k] E2 – [Fred Brown, 50, 60k] [Entity Set] Department (Name, Location, Manager..) D1 – [Finance, Delhi, John Smith] D2 – [Sales, Hubballi, Fred Brown]
  • 7. Conceptual Design of COMPANY Database  Department, Project, Employee and Dependents – Entity Types
  • 8. Relationship Types, Relationship Sets, Roles and Structural Constraints  Relationship Types, Sets, and Instances  A relationship type R among n entity types E1, E2, ..., En defines a set of associations —or a relationship set  Mathematically, the relationship set R is a set of relationship instances ri, where each ri associates n individual entities (e1,e2,...,en)  Relationship Degree, Role Names, and Recursive Relationships  Degree of a Relationship Type  Binary and Ternary Degree  The degree of a relationship type is the number of participating entity type
  • 9. Relationship Types, Relationship Sets, Roles and Structural Constraints  Relationship as Attribute  Role Names and Recursive Relationships  Cardinality Ratios for Binary Relationships  Participation Constraints and Existence Dependencies
  • 10. Weak Entity Types  The Entity Type that doesn’t have any key attribute - Weak Entity  Strong Entity Type & Identifying Relationship  A weak entity type normally has a partial key  Redefining the ER Diagram – Company Database  MANAGES, a 1:1 relationship type between EMPLOYEE and DEPARTMENT  WORKS_FOR, a 1:N relationship type between DEPARTMENT and EMPLOYEE. Both participations are total  CONTROLS, a 1:N relationship type between DEPARTMENT and PROJECT  SUPERVISION, a 1:N relationship type between EMPLOYEE  WORKS_ON, determined to be an M:N relationship type with attribute Hours  DEPENDENTS_OF, a 1:N relationship type between EMPLOYEE and DEPENDENT
  翻译: