Normalization of Database Tables
Normalization of Database Tables
Project Num : 15
Project Name : Evergreen
Emp Num Emp Name Job Class Chr Hours Hrs Billed Total
101
102
103
105
Table Structure Matches
the Report Format
Database Tables and Normalization
After
Before
First Normal Form (1 NF)
1NF Definition
– The term first normal form (1NF) describes the
tabular format in which:
All the key attributes are defined.
There are no repeating groups in the table.
All attributes are dependent on the primary key.
Dependency Diagram
Dependency Diagram
– The primary key components are bold, underlined, and shaded in a
different color.
– The arrows above entities indicate all desirable dependencies, i.e.,
dependencies that are based on PK.
– The arrows below the dependency diagram indicate less desirable
dependencies -- partial dependencies and transitive dependencies.
First Normal Form (1 NF)
3NF Definition
– A table is in 3NF if:
It is in 2NF and
It contains no transitive dependencies.
The Completed
Database
Relational Schema
SUMMARY
The Initial 1NF Structure
Identifying the Possible PK Attributes
Table Structures Based On
The Selected PKs