recategorized
1,194 views
1 votes
1 votes

Let $R_1(a, b, c)$ and $R_2(x, y, z)$ be two relations in which a is the foreign key of $R_1$ that refers to the primary key of $R_2$. Consider the following four options.

  1. Insert into $R_1$
  2. Insert into $R_2$
  3. Delete from $R_1$
  4. Delete from $R_2$

Which of the following is correct about the referential integrity constraint with respect to above?

  1. Operations a and b will cause violation
  2. Operations b and c will cause violation
  3. Operations c and d will cause violation
  4. Operations d and a will cause violation
recategorized

1 Answer

0 votes
0 votes

Option (4) d and a will cause violation.

https://gateoverflow.in/2266/gate1997-6-10-isro2016-54

edited by
Answer:

Related questions

0 votes
0 votes
5 answers
1
Pooja Khatri asked Jul 13, 2018
2,399 views
In RDBMS, which type of Join returns all rows that satisfy the join condition?Inner JoinOuter JoinSemi JoinAnti Join
0 votes
0 votes
5 answers
3
Pooja Khatri asked Jul 13, 2018
4,764 views
In a Hierarchical database, a hashing function is used to locate the ____CollisionRootForeign KeyRecords