Chapter 5 Normalization of Database Tables
Chapter 5 Normalization of Database Tables
INTRODUCTION TO DATABASE
MANAGEMENT SYSTEM
By :
Miss Noorfadzilah Arifin
Normalization
Process for evaluating and correcting table structures to
minimize data redundancies
◼ Update anomalies
◼ Insert anomalies
◼ Deletion anomalies
The Need for Normalization
(continued)
Structure of data set in Figure 5.1 does not handle
data very well
Two steps
Ex: PROJ_NUM
EMP_NUM
PROJ_NUM EMP_NUM
Conversion to Second Normal Form
(continued)
Step 2: Assign Corresponding Dependent
Attributes
Determine those attributes that are dependent on
other attributes
At this point, most anomalies have been eliminated
The dependencies for the original key components
are found by examining the arrows below the
dependency diagram in Figure 5.3
The 3 new tables (PROJECT, EMPLOYEE and
ASSIGNMENT)
Conversion to Second Normal Form
(continued)
PROJECT (PROJ_NUM , PROJ_NAME)
◼ EX: JOB_CLASS
Conversion to Third Normal Form
(continued)
Step 2: Identify the Dependent Attributes
It is in 2NF
Table that is not in 3NF may be split into new tables until
all of the tables meet 3NF requirements