GATE DA 2026 · Question 26 · Database Management and Warehousing · Multiple select (MSQ) · 1 mark · no negative marks
Consider two relations r and s defined on the relational schemas R(A,B) and S(E,C), respectively. A is the primary key of R and E is a foreign key of S referencing A in R.
Which of the following operations will NEVER violate the foreign key constraint?
- (A) Inserting records into relation r
- (B) Deleting records from relation s
- (C) Deleting records from relation r
- (D) Inserting records into relation s
Answer
Answer (A), (B)
Answer from the official GATE DA 2026 answer key.
The step-by-step solution, where available, is part of GATE DA Pro. See what Pro includes