Question: Show intermediate steps to get your final answers, if applied. Problem 2. (Data Integrity) (20 Points) Consider the following relations for a database that keeps

 Show intermediate steps to get your final answers, if applied. Problem Show intermediate steps to get your final answers, if applied.

Problem 2. (Data Integrity) (20 Points) Consider the following relations for a database that keeps track of automo- bile sales in a car dealership (OPTION refers to some optional equipment installed on an automobile: CAR(Serial no, Model, Manufacturer, Price) OPTION Serial no, Option name, Price) SALE n id. SerialL no, Date, Sale_price) SALESPERSON Salesperson id, Name, Phone) First, specify the foreign keys for this schema, stating any assumptions you make. Next, populate the relations with a few sample tuples, and then 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!