edited by
4,183 views
5 votes
5 votes

The relation schemas $R_1$ and $R_2$ form a Lossless join decomposition of $R$ if and only if

  1. $R_1 \cap R_2 \twoheadrightarrow (R_1-R_2)$
  2. $R_1 \rightarrow R_2$
  3. $R_1 \cap R_2 \twoheadrightarrow (R_2-R_1)$
  4. $R_2 \rightarrow R_1 \cap R_2$
    1. $\text{i and ii}$ happen
    2. $\text{i and iv}$ happen
    3. $\text{i and iii}$ happen
    4. $\text{ii and iii}$ happen
edited by

1 Answer

Best answer
5 votes
5 votes

ans is C 

e.g R1=(a,b,c,d)  R2=(c,d,e,f) 

R1-R2=(a,b)  , R2-R1=(e,f)

R1 ∩ R2   =c,d

 c,d is common to both relation ,now  to be lossless c,d must be a superkey in at least one of the relation R 1 and R 2

acc to option C it is superkey in both relation so it is lossless 

 
selected by
Answer:

Related questions