Question: Consider the following relations for a database that keeps track of automobile sales in a car dealership ( OPTION refers to some optional equipment installed
Consider the following relations for a database that keeps track of automobile sales in a car dealership OPTION refers to some optional equipment installed on an automobile:
CAR Serialno Model, Manufacturer, Price
OPTION Serialno Optionname, Price
SALE Salespersonid Serialno Date, Saleprice
SALESPERSON Salespersonid 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
