SlideShare a Scribd company logo
1 of 15
Enhanced ERD &
Inheritance
Mansoor Ahmad, Muhammad Shahnam Ali,
Nouman Umar, Imdad Ul Haq
Presentation by:
1
Agenda…
To Understand ERD (Entity Relationship Diagram)1
Enhanced Entity Relationship Diagram2
Specialization, Generalization3
Inheritance – Super Class – Sub Class4
2
Entity Relationship Diagram(ERD)
An entity relationship diagram (ERD), also known as an entity relationshi
p model, is a graphical representation of an information system that depi
cts the relationships among people, objects, places, concepts or events
within that system
3
Entities
which are objects or concepts that can have data stored about them.
There are Three basics Components of an Entity Relationship Diagram(ERD)
Attributes
which are properties or characteristics of entities. An ERD attribute can be denoted as a
primary key, which identifies a unique attribute, or a foreign key, which can be assigned
to multiple attributes.
Relationships
Relationship shows the relation between entities
4
Entity Relationship Diagram
5
What is an Enhanced ER Diagram?
Enhanced entity-relationship models, also known as extended entity
-relationship models, are advanced database diagrams very similar
to regular ER diagrams. Enhanced ERDs are high-level models that
represent the requirements and complexities of complex databases.
6
Why Enhanced ERD?
Enhanced entity-relationship diagrams, or EERDs, are specialized
ER Diagrams that can be extremely useful for modeling your datab
ase. EERDs use several concepts that are closely related to object-
oriented design and programming.
7
Enhanced ERDs Include
•Subtypes and super types (sometimes known as subclasses and
super classes)
•Specialization and generalization
•Attribute and relationship inheritance
8
Super types and Subtypes /Super Class and Sub Class
•Super type - an entity type that relates to one or more subtypes.
•Subtype - a subgroup of entities with unique attributes.
Classes can be derived from other classes. The derived class (the class that
is derived from another class) is called a subclass. The class from which it's
derived is called the superclass.
9
Super Class and Sub Class Diagram
10
Attribute Inheritance
Inheritance enables you to share attributes between
objects such that a subclass inherits attributes from i
ts parent class.
11
Consider a simple application example. Which contains registration information for three
types of vehicles: trucks, cars, and bicycles.
For each vehicle type, your application requires the following information:
VID (Vehicle Identification)
LastMaint (mileage since last maintenance)
LoadCap (load capacity)
12
Representing Inheritance in the Database
You can represent inheritance in the database:
•Multiple tables that represent the parent class and each child class
13
Generalization, Specialization,
Generalization: In data modeling, generalization is the process of defining a more gener
al entity type from a set of more specialized entity types. Thus generalization is a
bottom-up process.
Specialization : The process of defining one or more subtypes of the supertype and
forming supertype/subtype relationships.
•Super type - an entity type that relates to one or more subtypes.
•Subtype - a subgroup of entities with unique attributes.
14
Thank you

More Related Content

What's hot

Class diagram presentation
Class diagram presentationClass diagram presentation
Class diagram presentationSayedFarhan110
 
Presentation on Railway Reservation System
Presentation on Railway Reservation SystemPresentation on Railway Reservation System
Presentation on Railway Reservation SystemPriyanka Sharma
 
Er model ppt
Er model pptEr model ppt
Er model pptPihu Goel
 
Transaction processing ppt
Transaction processing pptTransaction processing ppt
Transaction processing pptJaved Khan
 
Dbms schema & instance
Dbms schema & instanceDbms schema & instance
Dbms schema & instancePapan Sarkar
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programmingAmit Soni (CTFL)
 
Object Oriented Concepts and Principles
Object Oriented Concepts and PrinciplesObject Oriented Concepts and Principles
Object Oriented Concepts and Principlesdeonpmeyer
 
Inheritance in c++
Inheritance in c++Inheritance in c++
Inheritance in c++Vineeta Garg
 
Query decomposition in data base
Query decomposition in data baseQuery decomposition in data base
Query decomposition in data baseSalman Memon
 
Oracle sql analytic functions
Oracle sql analytic functionsOracle sql analytic functions
Oracle sql analytic functionsmamamowebby
 
Control system for entry and exit
Control system for entry and exitControl system for entry and exit
Control system for entry and exitcontrolEyS
 
Replication in Distributed Database
Replication in Distributed DatabaseReplication in Distributed Database
Replication in Distributed DatabaseAbhilasha Lahigude
 
Railway booking & management system
Railway booking & management systemRailway booking & management system
Railway booking & management systemNikhil Raj
 
Dbms case studies_cse_iv_sem
Dbms case studies_cse_iv_semDbms case studies_cse_iv_sem
Dbms case studies_cse_iv_semnidhi12gehu
 

What's hot (20)

Layered Software Architecture
Layered Software ArchitectureLayered Software Architecture
Layered Software Architecture
 
Unit 03 dbms
Unit 03 dbmsUnit 03 dbms
Unit 03 dbms
 
Ado.Net Tutorial
Ado.Net TutorialAdo.Net Tutorial
Ado.Net Tutorial
 
Class diagram presentation
Class diagram presentationClass diagram presentation
Class diagram presentation
 
Presentation on Railway Reservation System
Presentation on Railway Reservation SystemPresentation on Railway Reservation System
Presentation on Railway Reservation System
 
Er model ppt
Er model pptEr model ppt
Er model ppt
 
Transaction processing ppt
Transaction processing pptTransaction processing ppt
Transaction processing ppt
 
EER modeling
EER modelingEER modeling
EER modeling
 
ER Model in DBMS
ER Model in DBMSER Model in DBMS
ER Model in DBMS
 
Dbms schema & instance
Dbms schema & instanceDbms schema & instance
Dbms schema & instance
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
Object Oriented Concepts and Principles
Object Oriented Concepts and PrinciplesObject Oriented Concepts and Principles
Object Oriented Concepts and Principles
 
Inheritance in c++
Inheritance in c++Inheritance in c++
Inheritance in c++
 
Query decomposition in data base
Query decomposition in data baseQuery decomposition in data base
Query decomposition in data base
 
Oracle sql analytic functions
Oracle sql analytic functionsOracle sql analytic functions
Oracle sql analytic functions
 
Control system for entry and exit
Control system for entry and exitControl system for entry and exit
Control system for entry and exit
 
Dbms viva questions
Dbms viva questionsDbms viva questions
Dbms viva questions
 
Replication in Distributed Database
Replication in Distributed DatabaseReplication in Distributed Database
Replication in Distributed Database
 
Railway booking & management system
Railway booking & management systemRailway booking & management system
Railway booking & management system
 
Dbms case studies_cse_iv_sem
Dbms case studies_cse_iv_semDbms case studies_cse_iv_sem
Dbms case studies_cse_iv_sem
 

Similar to Enhance ERD(Entity Relationship Diagram)

Entity Relationship Modelling
Entity Relationship ModellingEntity Relationship Modelling
Entity Relationship ModellingBhandari Nawaraj
 
SE18_Lec 06_Object Oriented Analysis and Design
SE18_Lec 06_Object Oriented Analysis and DesignSE18_Lec 06_Object Oriented Analysis and Design
SE18_Lec 06_Object Oriented Analysis and DesignAmr E. Mohamed
 
Week 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data ModelingWeek 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data Modelingoudesign
 
Unit-1-DBMS-SUN-4 everything you need to know.pptx
Unit-1-DBMS-SUN-4 everything you need to know.pptxUnit-1-DBMS-SUN-4 everything you need to know.pptx
Unit-1-DBMS-SUN-4 everything you need to know.pptxnirajsharmapuneiat
 
SE_Lec 06_Object Oriented Analysis and Design
SE_Lec 06_Object Oriented Analysis and DesignSE_Lec 06_Object Oriented Analysis and Design
SE_Lec 06_Object Oriented Analysis and DesignAmr E. Mohamed
 
Unit 2(advanced class modeling & state diagram)
Unit  2(advanced class modeling & state diagram)Unit  2(advanced class modeling & state diagram)
Unit 2(advanced class modeling & state diagram)Manoj Reddy
 
Dbms Concepts
Dbms ConceptsDbms Concepts
Dbms Conceptsadukkas
 
Elements analysis dfd_er_std
Elements analysis dfd_er_stdElements analysis dfd_er_std
Elements analysis dfd_er_stdAmmar Jamali
 
introduction of database in DBMS
introduction of database in DBMSintroduction of database in DBMS
introduction of database in DBMSAbhishekRajpoot8
 
Data Models & Introduction to UML
Data Models & Introduction to UML Data Models & Introduction to UML
Data Models & Introduction to UML نبيله نواز
 
1 - Database Management System.pdf
1 - Database Management System.pdf1 - Database Management System.pdf
1 - Database Management System.pdfgaurav70287
 
Geographic Information systems
Geographic Information systemsGeographic Information systems
Geographic Information systemsRajalakshmiS34
 
Geographic Information System unit 2
Geographic Information System unit 2Geographic Information System unit 2
Geographic Information System unit 2sridevi5983
 

Similar to Enhance ERD(Entity Relationship Diagram) (20)

uml.pptx
uml.pptxuml.pptx
uml.pptx
 
database
databasedatabase
database
 
Entity Relationship Modelling
Entity Relationship ModellingEntity Relationship Modelling
Entity Relationship Modelling
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
SE18_Lec 06_Object Oriented Analysis and Design
SE18_Lec 06_Object Oriented Analysis and DesignSE18_Lec 06_Object Oriented Analysis and Design
SE18_Lec 06_Object Oriented Analysis and Design
 
Week 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data ModelingWeek 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data Modeling
 
Unit-1-DBMS-SUN-4 everything you need to know.pptx
Unit-1-DBMS-SUN-4 everything you need to know.pptxUnit-1-DBMS-SUN-4 everything you need to know.pptx
Unit-1-DBMS-SUN-4 everything you need to know.pptx
 
SE_Lec 06_Object Oriented Analysis and Design
SE_Lec 06_Object Oriented Analysis and DesignSE_Lec 06_Object Oriented Analysis and Design
SE_Lec 06_Object Oriented Analysis and Design
 
Unit 2(advanced class modeling & state diagram)
Unit  2(advanced class modeling & state diagram)Unit  2(advanced class modeling & state diagram)
Unit 2(advanced class modeling & state diagram)
 
Dbms Concepts
Dbms ConceptsDbms Concepts
Dbms Concepts
 
Db lec 01
Db lec 01Db lec 01
Db lec 01
 
Dbms
DbmsDbms
Dbms
 
Elements analysis dfd_er_std
Elements analysis dfd_er_stdElements analysis dfd_er_std
Elements analysis dfd_er_std
 
introduction of database in DBMS
introduction of database in DBMSintroduction of database in DBMS
introduction of database in DBMS
 
Data Models & Introduction to UML
Data Models & Introduction to UML Data Models & Introduction to UML
Data Models & Introduction to UML
 
1 - Database Management System.pdf
1 - Database Management System.pdf1 - Database Management System.pdf
1 - Database Management System.pdf
 
dbms mannual.pdf
dbms mannual.pdfdbms mannual.pdf
dbms mannual.pdf
 
Spatial Data Models
Spatial Data Models Spatial Data Models
Spatial Data Models
 
Geographic Information systems
Geographic Information systemsGeographic Information systems
Geographic Information systems
 
Geographic Information System unit 2
Geographic Information System unit 2Geographic Information System unit 2
Geographic Information System unit 2
 

More from Imdad Ul Haq

How amazon web services uses formal methods
How amazon web services uses formal methodsHow amazon web services uses formal methods
How amazon web services uses formal methodsImdad Ul Haq
 
Software architacture recovery
Software architacture recoverySoftware architacture recovery
Software architacture recoveryImdad Ul Haq
 
Introduction to Function and there types
Introduction to Function and there typesIntroduction to Function and there types
Introduction to Function and there typesImdad Ul Haq
 
V_Sound(Visualize Softwar and Understand the Document)
V_Sound(Visualize Softwar  and Understand the Document)V_Sound(Visualize Softwar  and Understand the Document)
V_Sound(Visualize Softwar and Understand the Document)Imdad Ul Haq
 
Ufone marketing oriantation
Ufone marketing oriantationUfone marketing oriantation
Ufone marketing oriantationImdad Ul Haq
 
Library management system
Library management systemLibrary management system
Library management systemImdad Ul Haq
 

More from Imdad Ul Haq (7)

How amazon web services uses formal methods
How amazon web services uses formal methodsHow amazon web services uses formal methods
How amazon web services uses formal methods
 
Software architacture recovery
Software architacture recoverySoftware architacture recovery
Software architacture recovery
 
Introduction to Function and there types
Introduction to Function and there typesIntroduction to Function and there types
Introduction to Function and there types
 
V_Sound(Visualize Softwar and Understand the Document)
V_Sound(Visualize Softwar  and Understand the Document)V_Sound(Visualize Softwar  and Understand the Document)
V_Sound(Visualize Softwar and Understand the Document)
 
Ufone marketing oriantation
Ufone marketing oriantationUfone marketing oriantation
Ufone marketing oriantation
 
Library management system
Library management systemLibrary management system
Library management system
 
Counting sort
Counting sortCounting sort
Counting sort
 

Recently uploaded

Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 

Recently uploaded (20)

Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 

Enhance ERD(Entity Relationship Diagram)

  • 1. Enhanced ERD & Inheritance Mansoor Ahmad, Muhammad Shahnam Ali, Nouman Umar, Imdad Ul Haq Presentation by: 1
  • 2. Agenda… To Understand ERD (Entity Relationship Diagram)1 Enhanced Entity Relationship Diagram2 Specialization, Generalization3 Inheritance – Super Class – Sub Class4 2
  • 3. Entity Relationship Diagram(ERD) An entity relationship diagram (ERD), also known as an entity relationshi p model, is a graphical representation of an information system that depi cts the relationships among people, objects, places, concepts or events within that system 3
  • 4. Entities which are objects or concepts that can have data stored about them. There are Three basics Components of an Entity Relationship Diagram(ERD) Attributes which are properties or characteristics of entities. An ERD attribute can be denoted as a primary key, which identifies a unique attribute, or a foreign key, which can be assigned to multiple attributes. Relationships Relationship shows the relation between entities 4
  • 6. What is an Enhanced ER Diagram? Enhanced entity-relationship models, also known as extended entity -relationship models, are advanced database diagrams very similar to regular ER diagrams. Enhanced ERDs are high-level models that represent the requirements and complexities of complex databases. 6
  • 7. Why Enhanced ERD? Enhanced entity-relationship diagrams, or EERDs, are specialized ER Diagrams that can be extremely useful for modeling your datab ase. EERDs use several concepts that are closely related to object- oriented design and programming. 7
  • 8. Enhanced ERDs Include •Subtypes and super types (sometimes known as subclasses and super classes) •Specialization and generalization •Attribute and relationship inheritance 8
  • 9. Super types and Subtypes /Super Class and Sub Class •Super type - an entity type that relates to one or more subtypes. •Subtype - a subgroup of entities with unique attributes. Classes can be derived from other classes. The derived class (the class that is derived from another class) is called a subclass. The class from which it's derived is called the superclass. 9
  • 10. Super Class and Sub Class Diagram 10
  • 11. Attribute Inheritance Inheritance enables you to share attributes between objects such that a subclass inherits attributes from i ts parent class. 11
  • 12. Consider a simple application example. Which contains registration information for three types of vehicles: trucks, cars, and bicycles. For each vehicle type, your application requires the following information: VID (Vehicle Identification) LastMaint (mileage since last maintenance) LoadCap (load capacity) 12
  • 13. Representing Inheritance in the Database You can represent inheritance in the database: •Multiple tables that represent the parent class and each child class 13
  • 14. Generalization, Specialization, Generalization: In data modeling, generalization is the process of defining a more gener al entity type from a set of more specialized entity types. Thus generalization is a bottom-up process. Specialization : The process of defining one or more subtypes of the supertype and forming supertype/subtype relationships. •Super type - an entity type that relates to one or more subtypes. •Subtype - a subgroup of entities with unique attributes. 14

Editor's Notes

  1. https://docs.oracle.com/cd/B14099_19/web.1012/b15901/mapping003.htm