GATE CS 2017, set 2 · Question 19 · Databases · Numerical answer (NAT) · 1 mark · no negative marks

Consider the following tables T1 and T2.
T1
T2
In table T1, P is the primary key and Q is the foreign key referencing R in table T2 with on-delete cascade and on-update cascade. In table T2, R is the primary key and S is the foreign key referencing P in table T1 with on-delete set NULL and on-update cascade. In order to delete record ⟨ 3, 8 ⟩ from table T1, the number of additional records that need to be deleted from table T1 is ______.

PQ
22
38
73
58
69
85
98
RS
22
83
32
97
57
72
Answer

Answer 0

Answer from the official GATE CS 2017 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes