NAT · 1 mark · Relational Design
GATE CS 2017 CS-2 — Q19
Consider the following tables T1 and T2.
T1:
T1:
| P | Q |
|---|---|
| 2 | 2 |
| 3 | 8 |
| 7 | 3 |
| 5 | 8 |
| 6 | 9 |
| 8 | 5 |
| 9 | 8 |
T2:
| R | S |
|---|---|
| 2 | 2 |
| 8 | 3 |
| 3 | 2 |
| 9 | 7 |
| 5 | 7 |
| 7 | 2 |
In table T1, is the primary key and is the foreign key referencing in table T2 with on-delete cascade and on-update cascade. In table T2, is the primary key and is the foreign key referencing in table T1 with on-delete set NULL and on-update cascade. In order to delete record from table T1, the number of additional records that need to be deleted from table T1 is ____________.