UGC-NET Dec 2012 · ER-Model

MCQ · 2 marks · Problem DBMS-RELM-0038

If a relation with a Schema R is decomposed into two relations $R_1$ and $R_2$ such that $(R_1 \cup R_2) = R_1$ then which one of the following is to be satisfied for a lossless joint decomposition ($\rightarrow$ indicates functional independency)
  1. A
    $(R_1 \cap R_2) \rightarrow R_1 \text{ or } R_1 \cap R_2 \rightarrow R_2$
  2. B
    $R_1 \cap R_2 \rightarrow R_1$
  3. C
    $R_1 \cap R_2 \rightarrow R_2$
  4. D
    $(R_1 \cap R_2) \rightarrow R_1 \text{ and } R_1 \cap R_2 \rightarrow R_2$

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

Show the worked solution\[\boxed{R_1\cap R_2\to R_1\ \ \text{or}\ \ R_1\cap R_2\to R_2\ \ (\text{in }F^+)}\]Here the decomposition covers \(R\), i.e. \(R_1\cup R_2=R\). It is lossless when the common attributes are a super key of at least one of the parts. Then every joined tuple comes from a real tuple of \(R\).(B) and (C) Each alone is sufficient but not required.(D) "And" is stronger than necessary.Answer: A

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