Question: Exercises E6.1 Consider the two tables shown in Figure 6.37. The TerlD column in the SALES REP relation is a foreign key re- ferring to
Exercises E6.1 Consider the two tables shown in Figure 6.37. The TerlD column in the SALES REP relation is a foreign key re- ferring to the primary key column TerlD in the TERRI- E6.1c If a DBMS enforces a DELETE RESTRICT option on the referential integrity constraint SALES REP and TERRITORY, show the in tables SALES REP and TERRITORY after TORY relation. E6.1a user tries to delete the first record (1, Jor, E) from If a DBMS enforces a DELETE RESTRICT option on the referential integrity constraint between SALES REP and TERRITORY, show the records in tables SALES_ REP and TERRITORY after a user tries to delete the fourth record (N, North) E6.1d If a DBMS enforces a DELETE CASCADE option on the referential integrity constraint between SALES REP and TERRITORY, show the records in tables SALES REP and TERRITORY after a user tries to delete the fourth record (N, Nortk) from TERRITORY E6.1b If a DBMS enforces a DELETE RESTRICT option on the referential integrity constraint between SALES REP and TERRITORY, show the records in tables SALES REP and TERRITORY after a user tries to delete the second record (W, West) E6.1e If a DBMS enforces a DELETE CASCADE option on the referential integrity constraint between SALES REP and TERRITORY, show the records in tables SALES_REP and TERRITORY after a from TERRITORY. SALES REP TERRITORY SRID SRName TerlD TerlD TerName E East W West S South N |North C Central 2 Sue 5 Joe 6 Pat 7 Lee 8 Joe FIGURE 6.37 The relations Sales Rep and Territory E6.1f If a DBMS enforces a DELETE CASCADE option on the referential integrity constraint between SALES REP and TERRITORY, show the records in tables SALES REP and TERRITORY after a user tries to delete the first record (1, Joe, E) from SALES REP 7 DELETE SET-TO-NULL
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
