GATE CS 2012 · Normal Forms (1NF, 2NF, 3NF, BCNF)

MCQ · 2 marks · Problem DBMS-NORM-0068

Suppose R1(A, B) and R2(C, D) are two relation schemas. Let r1 and r2 be the corresponding relation instances. B is a foreign key that refers to C in R2. If data in r1 and r2 satisfy referential integrity constraints, which of the following is ALWAYS TRUE?
  1. A
    \(\Pi_{B}(r_{1})- \Pi_{C}(r_{2}) =\phi\)
  2. B
    \(\Pi_{C}(r_{1})- \Pi_{B}(r_{2}) =\phi\)
  3. C
    \(\Pi_{B}(r_{1})= \Pi_{C}(r_{2})\)
  4. D
    \(\Pi_{B}(r_{1})- \Pi_{C}(r_{2}) \neq \phi\)

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

Show the worked solutionOfficial GATE Answer Key: Option A.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/2151/gate2012-43

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