Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the General Hardware Corp. database of Figure 6.1. Describe the problem of referential integrity in terms of the CUSTOMER and CUSTOMER EMPLOYEE relations if

Consider the General Hardware Corp. database of Figure 6.1. Describe the problem of referential integrity in terms of the CUSTOMER and CUSTOMER EMPLOYEE relations if the record for customer 2198 in the CUSTOMER relation is deleted. (Assume that no delete rules exist.)

image text in transcribed

(d) PRODUCT relation Salesperson Number (a) SALESPERSON relation Salesperson Commission Name Percentage Year of Hire Office Number Product Number Product Name Unit Price 10 15 137 186 204 361 Baker Adams Dickens Carlyle 1995 2001 1998 2001 1284 1253 1209 1227 16386 19440 21765 24013 26722 Wrench Hammer Drill Saw 10 20 12.95 17.50 32.99 26.25 11.50 Pliers (b) CUSTOMER relation (e) SALES relation Customer Number Customer Name Salesperson Number HQ City Salesperson Number Product Number Quantity 137 186 137 137 0121 0839 0933 1047 1525 1700 1826 2198 2267 Main St. Hardware Jane's Stores ABC Home Stores Acme Hardware Store Fred's Tool Stores XYZ Stores City Hardware Western Hardware Central Stores 361 New York Chicago Los Angeles Los Angeles Atlanta Washington New York New York New York 361 137 204 186 137 137 137 186 186 186 186 204 204 361 361 361 19440 24013 26722 16386 19440 21765 24013 21765 26722 16386 21765 26722 473 170 688 1,745 2,529 1,962 3,071 809 734 3,729 3,110 2,738 (c) CUSTOMER EMPLOYEE relation Customer Number Employee Number Employee Name Title (f) OFFICE relation Office Number Telephone Size (sq. ft.) 0121 0121 0933 0933 0933 1525 2198 2198 2198 2198 27498 30441 25270 30441 48285 33779 27470 30441 33779 35268 Smith Garcia Chen Levy Morton Baker Smith Jones Garcia Kaplan Co-Owner Co-Owner VP Sales Sales Manager President Sales Manager President VP Sales VP Personnel Senior Accountant (Continues) 1253 1227 1284 1209 901-555-4276 901-555-0364 901-555-7335 901-555-3108 120 100 120 95

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2017 Skopje Macedonia September 18 22 2017 Proceedings Part 3 Lnai 10536

Authors: Yasemin Altun ,Kamalika Das ,Taneli Mielikainen ,Donato Malerba ,Jerzy Stefanowski ,Jesse Read ,Marinka Zitnik ,Michelangelo Ceci ,Saso Dzeroski

1st Edition

ISBN: 3319712721, 978-3319712727

More Books

Students also viewed these Databases questions

Question

How many nodes are there in the following network? 6 4 3

Answered: 1 week ago

Question

10. Are you a. a leader? b. a follower? _______

Answered: 1 week ago