Let some table stores information about subjects that are read by professors. The business rule is that one professor can read only one subject but the same subject can be read by many professor. Teacher field is unique. Id is a surrogate key.
The table structure and data example are as below.
id teacher subject
--------------------
1 A Math
2 B Computer science
3 C Math
Id here is a surrogate key.
The question is if the second condition of 3 NF definition holds for this table.
The 3NF definition I consider is
Codd's definition states that a table is in 3NF if and only if both of the following conditions hold:
The relation R (table) is in second normal form (2NF).
Every non-prime attribute of R is non-transitively dependent on every key of R.