UGC-NET Jun 2015 · Normal Forms (1NF, 2NF, 3NF, BCNF)

MCQ · 2 marks · Problem DBMS-NORM-0026

The relation schemas \(R_1\) and \(R_2\) form a lossless join decomposition of \(R\) if and only if(i) \(R_1 \cap R_2 \twoheadrightarrow (R_1-R_2)\)(ii) \(R_1 \rightarrow R_2\)(iii) \(R_1 \cap R_2 \twoheadrightarrow (R_2-R_1)\)(iv) \(R_2 \rightarrow R_1 \cap R_2\)
  1. A
    i and ii happen
  2. B
    i and iv happen
  3. C
    i and iii happen
  4. D
    ii and iii happen

Solve it on GATE DA practice →More Relational Model & SQL problems

Show the worked solution\[\boxed{R=R_1\cup R_2 \text{ is lossless} \iff R_1\cap R_2 \twoheadrightarrow R_1-R_2 \iff R_1\cap R_2 \twoheadrightarrow R_2-R_1}\]The two multivalued dependencies (i) and (iii) are equivalent by the complementation rule (\(X\twoheadrightarrow Y\) implies \(X\twoheadrightarrow R-X-Y\)), so the decomposition is lossless exactly when both (i) and (iii) hold.(ii) \(R_1\rightarrow R_2\) and (iv) \(R_2\rightarrow R_1\cap R_2\) are neither necessary nor sufficient (the second is trivial).So "i and iii happen".Answer: C

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com