Normalization with ER Diagrams
& Tables
Real-World Examples for Module 3 –
DBMS
1NF - First Normal Form
Ensure atomicity and remove repeating groups.
ER: Customer —< Orders Before:
Customer(ID, Name, Phones)
After:
Customer(ID, Name)
Phone(ID, PhoneNo)
2NF - Second Normal Form
Remove partial dependency in composite keys.
ER: Student —< Enrollment >— CourseBefore:
(StudentID, CourseID, StudentName, CourseName)
After:
Student(StudentID, StudentName)
Course(CourseID, CourseName)
Enrollment(StudentID, CourseID)
3NF - Third Normal Form
Remove transitive dependencies.
ER: Employee —< Department Before:
Employee(ID, Name, DeptID, DeptName)
After:
Employee(ID, Name, DeptID)
Department(DeptID, DeptName)
BCNF - Boyce-Codd Normal Form
Every determinant is a candidate key.
ER: Lecturer teaches Subject in Room Before:
(Lecturer, Subject, Room)
Dependency: Room → Subject (not key)
After:
Room(RoomID, Subject)
LecturerTeaches(Lecturer, RoomID)
4NF - Fourth Normal Form
Remove multivalued dependencies.
ER: Author —< Book and Author —< Awards Before:
Author(Name, Book, Award)
After:
AuthorBooks(Name, Book)
AuthorAwards(Name, Award)
5NF - Fifth Normal Form
Decompose to eliminate join dependencies.
ER: Supplier —< Product >— Project Before:
(Supplier, Product, Project)
After:
SupplierProduct, SupplierProject, ProductProject