in Databases edited by
4,104 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
in Databases edited by
4.1k views

1 comment

Why they have given “->>” in question instead of "->". Can anyone please help me on this?
0
0

1 Answer

5 votes
5 votes
Best answer

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

3 Comments

@Sanjay Sharma Sir, whats the meaning of '↠' arrow with double head??

0
0
It represents multi valued dependency.Functional dependencies rule out certain tuples from being in a relation. If A → B, then we cannot have two tuples with the same A value but different B values.Multi valued dependencies, on the other hand, do not rule out the existence of certain tuples.
0
0

what about this question https://gateoverflow.in/124831/cil-2017-q87

which has different answer

0
0
Answer:

Related questions