2. Question 2 Consider the two tables shown in Figure 1. The TerID column in the SALES REP relation is a foreign key ref

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

2. Question 2 Consider the two tables shown in Figure 1. The TerID column in the SALES REP relation is a foreign key ref

Post by answerhappygod »

2 Question 2 Consider The Two Tables Shown In Figure 1 The Terid Column In The Sales Rep Relation Is A Foreign Key Ref 1
2 Question 2 Consider The Two Tables Shown In Figure 1 The Terid Column In The Sales Rep Relation Is A Foreign Key Ref 1 (1.15 MiB) Viewed 66 times
2. Question 2 Consider the two tables shown in Figure 1. The TerID column in the SALES REP relation is a foreign key referring to the primary key column TerID in the TERRITORY relation. Answer the following with a short explanation of your answer. (7 points each) SALES REP SRID 1 2 3 4 5 6 7 8 SRName Joe Sue Meg Bob Joe Pat Lee Joe TerlD EUSZ2 с N N E TERRITORY TerlD E W S N C TerName East West South North Central Figure 1 Relations SALES_REP and TERRITORY If a DBMS enforces a DELETE SET-TO-DEFAULT 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) from TERRITORY. Assume that the default value for the DeptID column in the SALES REP relation is 'E'. If a DBMS enforces an UPDATE SET-TO-NULL 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 change the fourth record (N, North) in TERRITORY to (NO, North).
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply