Doubts : -
1. R(A,B,C,D) and The Functional Dependencies are = AB->C, C->AD . So when I'll decompose it then it will be R1(A,B,C) and R2(C,D).We cannot do R1(A,B,C) and R2(C,A,D) because the Production C->A will become redundant because this production is already available in R1 isn't it?
2. Say R(A,B,C,D) and FD are = A->B, B->C, C->D . We decompose it as R1 = (A,B), R2 = (B,C),R3 = (C,D).
Now to check whether its lossless we will find common attribute between relation which should be the candidate key in any one of the relations So :-
R1 intersection R2 = B --->which is candidate key in R2
R2 intersection R3 = C --->which is candidate key in R3
Do we have to check R1 intersection R3 as well ? because if we do then it wont be lossless as there isn't any common attribute.
Please tell the right way to check.