Published Jun 21, 2025
[
 
]
Third Normal Form (3NF) is a database normalization standard used to reduce redundancy and ensure data integrity. A table is in 3NF if:
StudentID | Name | Department | DepartmentHead |
---|---|---|---|
1 | Alice | CS | Dr. Smith |
2 | Bob | EE | Dr. Jones |
Here:
StudentID → Department
Department → DepartmentHead
So, StudentID → DepartmentHead
is a transitive dependency via Department
.
Split into two tables:
Students
StudentID | Name | Department |
---|---|---|
1 | Alice | CS |
2 | Bob | EE |
Departments
Department | DepartmentHead |
---|---|
CS | Dr. Smith |
EE | Dr. Jones |
Now, all non-prime attributes depend directly on the primary key, not transitively.