There is always a decomposition into Boyce-Codd normal form (BCNF) that is lossless and dependency preserving.
View worked solution
Answer: 0
The statement is False (represented by 0).
While it is always possible to find a decomposition into 3NF that is both lossless and dependency-preserving, the same does not hold for BCNF. We can always find a lossless BCNF decomposition, but it is not always possible to preserve all functional dependencies.
Counterexample:
Consider a relation with the following functional dependencies (FDs):
The candidate keys for are and .
The dependency violates BCNF because is not a superkey. To decompose into BCNF losslessly, we must decompose it based on the violating FD :
- with FD (which is in BCNF)
- with no non-trivial FDs (which is in BCNF)
This decomposition is lossless because , which is a key for . However, the functional dependency is lost because the attributes and do not appear together in any of the decomposed relations. Thus, a lossless and dependency-preserving BCNF decomposition is not possible for this relation.
Free practice · Your answers on this page are not saved.
