Consider the relation \(R(P,Q,S,T,X,Y,Z,W)\) with the following functional dependencies.\(PQ\rightarrow X;\quad P\rightarrow YX;\quad Q\rightarrow Y; \quad Y\rightarrow ZW\)Consider the decomposition of the relation R into the constituent relations according to the following two decomposition schemes.\(D1:\quad R=[(P,QS,T);\;(P,T,X);\;(Q,Y);\;(Y,Z,W)]\)\(D2:\quad R=[(P,Q,S);\;(T,X);\;(Q,Y);\;(Y,Z,W)]\)Which one of the following options is correct?
- AD1 is a lossless decomposition, but D2 is a lossy decomposition.
- BD1 is a lossy decomposition, but D2 is a lossless decomposition.
- CBoth D1 and D2 are lossless decompositions.
- DBoth D1 and D2 are lossy decompositions.