GATE Assistant

Past questions › Data Science and Artificial Intelligence › GATE 2026

GATE 2026 · DA · MSQ · 1 mark · Database Management and Warehousing › Integrity Constraints & Normal Forms

GATE 2026 Data Science and Artificial Intelligence question: Consider two relations r and s defined on the relational schemas R(A,B) and S(E,C),…

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?

  1. (A)

    Inserting records into relation r

  2. (B)

    Deleting records from relation s

  3. (C)

    Deleting records from relation r

  4. (D)

    Inserting records into relation s

Show answer

Official answer: A,B

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion