IDS Lecture 6 (Complete)
IDS Lecture 6 (Complete)
IDS Lecture 6 (Complete)
Honors:
Gold Medalist!
Magna Cumm Laude
8 + years of Experience in Lectureship & Professional Trainings
Teradata + Oracle + MySQL (Advanced) + Power BI + Tableau
Enhanced Entity
Relationship
Diagrams (EERD)
Lecture# 6
Course Outline – Theory
Course Title: Database Systems
Course Code: CS-208
Credit Hours: 4 (3+1)
Introduction to Database
1 • Basic Database Concepts
• Data Vs Information 1 1
• Database Approach vs File Based System
Database Environment
• Data Independence (Logical and Physical Data Independence)
2
• Flat File Vs Relational Data System
1 1
• File Processing Vs Database System Approach
Database Architecture
3 • Three level ANSI-SPARC schema architecture
• Database Development Process 1 1
3
The Relational Model
• Schema’s, Tuple’s, Domain.
4 • Relation Instance 1 1
• Keys of Relations
• Integrity Constraints
Entity Relationship Modeling
• Business Rules
5 • Entity 2 2
• Attributes
• Relationship (Type, Cardinality and Degree of Relationship)
ERD - Continued
• Entity Set
2 2
6 • Conceptual Data Modeling
• Relationship Diagrams
ERD - Continued
• Properties of Relation
• Well Structured Relation
7 • Data Anomalies 2 2
Normalization
• Functional Dependencies
14 • Purpose of Normalization 3 3
• Normal Forms (1NF, 2NF, and 3NF)
✓ Entity Clustering
7
Enhanced Entity Relationship Diagrams
(EERD)
8
✓ Sub Type and Super Type Relationships
9
Sub Type and Super Type Relationships
10
Continued…
11
Basic Concept and Notation
12
13
14
15
16
17
18
19
20
Representing Specialization and
Generalization
21
22
23
24
25
26
Specifying Constraint in Sub Type/Super Type
Relationships
27
28
29
Specifying Disjointness Constraints
30
31
32
Defining Subtype Discriminators
33
34
35
36
Defining Super Type/Sub Type Hierarchies
37
38
39
40
✓ Entity Clustering
41
Entity Clustering
42
43
44
45
46
47
48
✓ Mapping/Transforming Enhanced Entity
Relationship Diagram
49
Mapping/Transforming Enhanced Entity
Relationship Diagram
50
51
52
53
EERD Simulators/Tools
EERD Online Simulator: -
https://www.draw.io/
https://creately.com
Microsoft Visio
54
Recommended Readings
Chapter 4 from: -
✓ Modern Database Management by Jeffrey A.
Hoffer, Mary B. Presscott & Fred R. McFadden; 8th
Edition (Page No. 172-216)
Chapter 5 from: -
✓ Modern Database Management by Jeffrey A.
Hoffer, Mary B. Presscott & Fred R. McFadden, 8th
Edition (Page No. 242-243)
55
Summary of Lecture
➦ Lecture 6
✓ Entity Clustering
56
✓ END OF LECTURE 6
57