GATE CS 2005 · SQL Queries

MCQ · 1 mark · Problem DBMS-SQL-0137

Let r be a relation instance with schema R = (A, B, C, D). We define \(r_{1}=\Pi _{A,B,C}(R)\) and \(r_{2}=\Pi _{A,D}(R)\). Let \(s=r_1*r_2\) where * denotes natural join. Given that the decomposition of r into \(r_1\) and \(r_2\) is lossy, which one of the following is TRUE?
  1. A
    \(S\subset r\)
  2. B
    \(r\cup S=r\)
  3. C
    \(r\subset S\)
  4. D
    \(r*S=S\)

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

Show the worked solutionOfficial GATE Answer Key: Option C.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/1366/gate2005-30

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