I am trying to find the 3NF lossless decomposition of the following relation with respect to the functional dependencies:
I started by deriving the keys from the functional dependencies given above. The keys are {L,T}, {E,T} and {T,M} because all of the attributes in the relation can be obtained using any of these keys.
The definition of 3NF:
A relation schema R is in 3NF if, whenever a function dependency X -> A holds in R, either
a. X is a superkey of R, or
b. A is a prime attribute of R.
Applying this to the FDs:
- LT -> E satisfies (a) because LT is a key (hence a superkey).
- ET -> L satisfies (a) because ET is a key (hence a superkey).
- TM -> E satisfies (a) because TM is a key (hence a superkey).
- E-> M satisfies (b) because M is a prime attribute.
How can one obtain a 3NF lossless decomposition of the relation with respect to the functional dependencies?
I might be wrong that the relation is in 3NF because there are transitive dependencies.
Where I could be going wrong?