Let the set of functional dependencies hold on a relation schema . is not in BCNF. Suppose is decomposed into two schemas and , where and .
Consider the two statements given below.
- Both and are in BCNF
- Decomposition of into and is dependency preserving and lossless
Which of the above statements is/are correct?
View worked solution
Answer: C
To determine the correctness of the statements, let us analyze the decomposition of into and under the functional dependencies .
Statement I: Both and are in BCNF
- For : The projected dependency is . Since is the candidate key of , is in BCNF.
- For : The projected dependencies are and . The candidate keys of are and . For the dependency , the left-hand side is not a superkey of . Thus, is not in BCNF.
Therefore, Statement I is False.
Statement II: Decomposition is dependency preserving and lossless
- Lossless Join: The intersection of the two schemas is . Since holds on , is a superkey of . Thus, the decomposition is lossless.
- Dependency Preserving:
- is preserved in .
- and are preserved in .
Therefore, Statement II is True.
Free practice · Your answers on this page are not saved.
