Chapter 5: Problem 16
Consider the following relations for a database that keeps track of auto sales in a car dealership (Option refers to some optional equipment installed on an auto): cAR(Serial-No, Model, Manufacturer, Price) OPTIoNs(Serial-No, Option-Name, Price) sALEs(Salesperson-id, Serial-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 example tuples, and then give an example of an insertion in the SALES and SALESPERSON relations that violates the referential integrity constraints and of another insertion that does not.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.