Let r be a relation instance with schema R = (A, B, C, D). We define and . Let where denotes natural join. Given that the decomposition of into and is lossy, which one of the following is TRUE?
View worked solution
Answer: C
For any relation with schema decomposed into projections and such that , the natural join of the projections always contains at least all the tuples of the original relation. That is:
Let . Thus, we always have .
- Lossless Join: If the decomposition is lossless, then .
- Lossy Join: If the decomposition is lossy, the join generates additional spurious tuples, meaning contains more tuples than ().
Since the problem states that the decomposition is lossy, we have:
Let's evaluate the options:
- Option A (): False, because contains more tuples than .
- Option B (): False. Since , we have .
- Option C (): True, as derived above.
- Option D (): False. Since both and share the same schema , their natural join is equivalent to their intersection: . Since , we get .
Free practice · Your answers on this page are not saved.
