is a relation. Which of the following does not have a lossless join, dependency preserving decomposition?
View worked solution
Answer: C
To determine which relation does not have a lossless-join, dependency-preserving BCNF decomposition, we analyze the options:
- Option A: . The candidate key is . Decomposing into and is lossless (common attribute is a key of ) and preserves all dependencies.
- Option B: . The candidate key is . Decomposing into , , and is lossless and preserves all dependencies.
- Option D: . The candidate key is . The relation is already in BCNF, so the trivial decomposition is lossless and dependency-preserving.
For Option C ():
- The candidate keys are and (since and ).
- The dependency violates BCNF because is not a superkey.
- If we decompose to resolve this violation, we must split the attributes of across different relations (e.g., and ). Any such decomposition loses the dependency .
Thus, Option C cannot be decomposed into BCNF while being both lossless and dependency-preserving.
Free practice · Your answers on this page are not saved.
