ISRO 2016 · SQL Queries

MCQ · 1 mark · Problem DBMS-SQL-0081

Let R(a,b,c) and S(d,e,f) be two relations in which d is the foreign key of S that refers to the primary key of R. Consider the following four operations R and SI. Insert into RII. Insert into SIII. Delete from RIV. Delete from SWhich of the following can cause violation of the referential integrity constraint above?
  1. A
    Both I and IV
  2. B
    Both II and III
  3. C
    All of these
  4. D
    None of these

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

Show the worked solutionOfficial GATE Answer Key: Option B.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/2266/gate1997-6-10-isro2016-54

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