Mark As Completed Discussion

Third Normal Form (3NF)

The same criterion applies as previously, namely that the table must be in 2NF before moving on to the Third Normal Form. Another requirement is that there be no transitive reliance on non-prime properties. That is, non-prime characteristics (those that do not constitute a candidate key) should not be reliant on other non-prime attributes in the same table. A transitive dependence is a functional dependency in which X → Z (X determines Z) indirectly, through X → Y and Y → Z (where Y → X is not the case).

Let us look at the following table and understand why it is not in 3NF:

Third Normal Form (3NF)
In this table, EmployeeID determines Department, and Department determines Location, meaning that EmployeeID determines Location via Department. This suggests that we have a transitive functional dependence, which does not satisfy 3NF. We can solve this issue by dividing this table into two separate parts, like so:

Third Normal Form (3NF)
This way, all non-key attributes are dependent solely on the primary key.