Solution :
1.
a). Candidate keys :
b). R is in but not
c). C → and C → , both causes violations of . The way to obtain the join preserving decomposition is to decompose into and CD.
2.
b). is in but not .
c). Both B → and D → cause violations. The decomposition : , is and lossless and the join preserving.
3.
c). is not in since D → and is not a key. But if we split up the as therefore we cannot preserve dependency → D. So there is no decomposition.
4.
c). BC → violates since does not contain the key. And we split up R as in .
5.
c). C → and D → both causes a violations. The decomposition into but this will not preserve → C and → D, and is still not because → . So we need to decompose further into However when we try to revive the lost functional dependencies by adding and , we that these relations are not in form. Therefore, there is no decomposition.
5.1m questions
6.7m answers