Consider the following set of functional dependencies on the relation schema :
a. Compute .
b. Prove (using Armstrong’s axioms) that is a superkey.
c. Compute a canonical cover for this set of functional dependencies ; give each step of your derivation with an explanation.
d. Give a 3NF decomposition of the given schema based on a canonical cover.
e. Give a BCNF decomposition of the given schema using the original set of functional dependencies.
a. Compute .
b. Prove (using Armstrong’s axioms) that is a superkey.
holds (given).
By Decomposition rule (I know that Decomposition rule is not one of Armstrong’s axioms, but since I have proved it in Exercise 7.27 using Armstrong’s axioms I think it is okay to use it here.)
holds (Decomposition rule).
holds (given).
By Transitivity rule holds.
Thus, holds by Union rule (see Exercise 7.4).
By Augmentation rule .
This proves that is a superkey.
c. Compute a canonical cover for this set of functional dependencies ; give each step of your derivation with an explanation.
Apply algorithm given in Figure 7.9.
is extraneous in so, remove it.
is also extraneous in so, remove it.
Thus the following is a canonical cover of .
d. Give a 3NF decomposition of the given schema based on a canonical cover.
The following is a 3NF decomposition of the given schema based on a canonical cover given above.
e. Give a BCNF decomposition of the given schema using the original set of functional dependencies.