Question
2. In the General Hardware Corp. database of Figure 6.1, what would happen if: a. The delete rule between the CUSTOMER and CUSTOMER EMPLOYEE relations
2. In the General Hardware Corp. database of Figure 6.1, what would happen if:
a. The delete rule between the CUSTOMER and CUSTOMER EMPLOYEE relations is restrict and an attempt is made to delete the record for customer 2198 in the CUSTOMER relation?
b. The delete rule between the CUSTOMER and CUSTOMER EMPLOYEE relations is cascade and an attempt is made to delete the record for customer 2198 in the CUSTOMER relation?
c. The delete rule between the CUSTOMER and CUSTOMER EMPLOYEE relations is set-to- null and an attempt is made to delete the record for customer 2198 in the CUSTOMER relation?
d. The delete rule between the CUSTOMER and CUSTOMER EMPLOYEE relations is restrict and an attempt is made to delete the record for employee 33779 of customer 2198 in the CUSTOMER EMPLOYEE relation?
e. The delete rule between the CUSTOMER and CUSTOMER EMPLOYEE relations is cascade and an attempt is made to delete the record for employee 33779 of customer 2198 in the CUSTOMER EMPLOYEE relation?
f. The delete rule between the CUSTOMER and CUSTOMER EMPLOYEE relations is set-to- null and an attempt is made to delete the record for employee 33779 of customer 2198 in the CUSTOMER EMPLOYEE relation?
Customer Number 0121 0839 0933 1047 1525 1700 1826 2198 2267 (b) CUSTOMER relation Customer Salesperson Nome Number Main St. Hardware 137 Jane's Stores 186 ABC Home Stores 137 Acme Hardware Store 137 Fred's Tool Stores 361 XYZ Stores 361 City Hardware 137 Western Hardware 204 Central Stores 186 HQ City New York Chicago Los Angeles Los Angeles Atlanta Washington New York New York New York Customer Number 0121 0121 0933 0933 0933 1525 2198 2198 2198 2198 (0) CUSTOMER EMPLOYEE relation Employee Employee Number Nome Title 27498 Smith Co-Owner 30441 Garcia Co-Owner 25270 Chen VP Sales 30441 Levy Sales Manager 48285 Morton President 33779 Baker Sales Manager 27470 Smith President 30441 Jones VP Sales 33779 Garcia VP Personnel 35268 Kaplan Senior Accountant (Continues)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started