Question: 2. (30 point) Consider the following relations for a database thatkepa track of sales in a car dealership: CAR(Serial no., Manufacturer, Price) CAR. SPAREPARTS(Serial no.,

 2. (30 point) Consider the following relations for a database thatkepa

2. (30 point) Consider the following relations for a database thatkepa track of sales in a car dealership: CAR(Serial no., Manufacturer, Price) CAR. SPAREPARTS(Serial no., Spareparts name, Price) SALE(Sal SALESPERSON Salesperson id., Name, Phone) id., Serial no., Date, Sale price a. (10 pts) Specify the foreign keys for this schema, stating any assumptions you make. b. (8 pts) Populate each relations with two sample tuples. c. (12 pts) Give an example of an insertion in the SALE and SALESPERSON relations that violates the referential integrity constraints and of another insertion that does not

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!