Understanding Normalization
Understanding Normalization
Normalization
Understanding Unnormalised Form
(UNF)
• Data in UNF contains redundant and repeated
information.
• Characteristics:
• - Multiple values in a single field.
• - Data inconsistencies and anomalies.
• - Difficult to manage and update.
Principles of First Normal Form
(1NF)
• Requirement: Ensure atomicity and eliminate
duplicate columns.
• Key Features:
• - Each column contains only atomic
(indivisible) values.
• - No repeating groups or arrays.
• - A unique identifier (Primary Key) is used.
Principles of Second Normal Form
(2NF)
• Requirement: Remove partial dependencies.
• Key Features:
• - Data must be in 1NF.
• - Ensure that all non-key attributes depend on
the entire primary key.
• - Divide tables to remove partial
dependencies.
Principles of Third Normal Form
(3NF)
• Requirement: Remove transitive
dependencies.
• Key Features:
• - Data must be in 2NF.
• - No attribute should depend on a non-key
attribute.
• - Create separate tables to maintain
dependencies only on primary keys.
Applying Normalisation Techniques
• Step 1: Identify repeating groups and non-
atomic values.
• Step 2: Organize data into 1NF, ensuring
atomicity.
• Step 3: Apply 2NF by eliminating partial
dependencies.
• Step 4: Apply 3NF by removing transitive
dependencies.