• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

GATE | GATE CS 1997 | Question 50

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 S 1. Insert into R 2. Insert into S 3. Delete from R 4. Delete from S Which of the following can cause violation of the referential integrity constraint above?

(A)

None of (1), (2), (3) or (4) can cause its violation

(B)

All of (1), (2), (3) and (4) can cause its violation

(C)

Both (1) and (4) can cause its violation

(D)

Both (2) and (3) can cause its violation

Answer

Please comment below if you find anything wrong in the above post
Feeling lost in the world of random DSA topics, wasting time without progress? It's time for a change! Join our DSA course, where we'll guide you on an exciting journey to master DSA efficiently and on schedule.
Ready to dive in? Explore our Free Demo Content and join our DSA course, trusted by over 100,000 geeks!

Last Updated :
Share your thoughts in the comments