MGMT 360 Database Management - PowerPoint PPT Presentation

1 / 31
About This Presentation
Title:

MGMT 360 Database Management

Description:

Equivalence between M-N and 1-M relationships. Identification Dependency ... Associative Entity Type Example. Generalization Hierarchies. Inheritance ... – PowerPoint PPT presentation

Number of Views:42
Avg rating:3.0/5.0
Slides: 32
Provided by: Michael1795
Category:

less

Transcript and Presenter's Notes

Title: MGMT 360 Database Management


1
MGMT 360Database Management
  • Data Modeling

2
Outline
  • Notation basics
  • Understanding relationships
  • Generalization hierarchies
  • Problem solving strategies

3
Basic Symbols
4
Cardinalities
5
Cardinality Notation
6
Classification of Cardinalities
  • Minimum cardinality based
  • Mandatory
  • Optional
  • Maximum cardinality based
  • Functional
  • 1-M
  • M-N
  • 1-1

7
More Relationship Examples
8
Comparison to Access Notation
9
Understanding Relationships
  • Identification dependency
  • M-N relationships with attributes
  • Self-identifying relationships
  • M-way relationships
  • Equivalence between M-N and 1-M relationships

10
Identification Dependency
11
M-N Relationships with Attributes
12
Instance Diagrams for Self-Referencing
Relationships
13
ERD Notation for Self-Referencing Relationships
14
Associative Entity Types for M-way Relationships
15
Associative Entity Types for M-way Relationships
16
Associative Entity Types for M-way Relationships
17
Associative Entity Types
18
Associative Entity Types
19
Relationship Equivalence
  • Replace M-N relationship
  • Associative entity type
  • Two identifying 1-M relationships
  • M-N relationship versus associative entity type
  • Largely preference
  • Associative entity more flexible in some
    situations

20
Associative Entity Type Example
21
Generalization Hierarchies
22
Inheritance
  • Subtypes inherit attributes of supertypes (direct
    and indirect)
  • Allows abbreviation of attribute list
  • Applies to code (methods) as well as attributes
    (data)

23
Generalization Constraints
24
Multiple Levels of Generalization
25
Problem Solving Strategies
  • Use notation precisely
  • Strive for simplicity
  • ERD connections
  • Avoid over connecting the ERD
  • Identify hub(s) of the ERD
  • Use specialized patterns carefully
  • Justify important design decisions

26
Common Notation Errors
  • Identifying versus non-identifying relationships
  • Unique relationship names
  • Cardinality for weak entities
  • Usage of foreign keys

27
Attribute to Entity Type Transformation
28
Compound Attribute Transformation
29
Generalization Hierarchy Transformation
30
Entity Type Expansion Transformation
31
Summary
  • Data modeling is an important skill
  • No standard ERD notation
  • Use notation precisely
  • Apply specialized concepts carefully
  • Work many problems
Write a Comment
User Comments (0)
About PowerShow.com