UGC-NET Jul 2016 · ER-Model

MCQ · 2 marks · Problem DBMS-RELM-0028

Which of the following statements is true?$D_1$: The decomposition of the schema R(A, B, C) into R$_1$(A,B) and R$_2$(A,C) is always lossless$D_2$: The decomposition of the schema R(A, B, C, D, E) having AD $\rightarrow$ B, C $\rightarrow$ DE, B $\rightarrow$ AE, and AE $\rightarrow$ C, into R$_1$(A,B, D) and R$_2$(A, C, D, E) is lossless
  1. A
    Both $D_1$ and $D_2$
  2. B
    Neither $D_1$ nor $D_2$
  3. C
    Only $D_1$
  4. D
    Only $D_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}\]\(D_1\): the common attribute is \(A\). With no FDs given, \(A\) need not determine \(B\) or \(C\). For example \(\{(a,b_1,c_1),(a,b_2,c_2)\}\) rejoins to give 4 tuples. So it is not always lossless, and \(D_1\) is false. \(D_2\): \(R_1\cap R_2=AD\), and \(AD\to B\) gives \(AD\to ABD=R_1\). So the decomposition is lossless, and \(D_2\) is true.Answer: D

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