Database Normalization Examples
Database Normalization Examples
Unnormalized Table
Each cell must contain only a single value, and each record must be unique.
Must be in 1NF.
All non-key attributes must depend on the whole primary key.
Must be in 2NF.
All attributes must be dependent only on the primary key.
Since there are no transitive dependencies in the 2NF example, the 3NF remains the same.
Unnormalized Table
1 Alice Smith
2 Bob Johnson
Course ID Course Instructor ID Semester
101 Database Design 1001 Spring 2022
102 Data Analysis 1002 Fall 2021
Instructor ID Instructor
1001 Prof. Johnson
1002 Prof. Davis
Student ID Course ID Grade
1 101 A
2 102 B
3 102 A
Since our 2NF structure does not have any transitive dependencies, it is already in 3NF.
1 Alice Smith
2 Bob Johnson
Course ID Course Instructor ID Semester
101 Database Design 1001 Spring 2022
102 Data Analysis 1002 Fall 2021
Instructor ID Instructor
1001 Prof. Johnson
1002 Prof. Davis
Student ID Course ID Grade
1 101 A
2 102 B
3 102 A
Again, our 2NF structure does not have any transitive dependencies, so it is already in 3NF.