Question
9- Consider the following relations for a database that keeps track of auto sales in a car dealership (OPTION refers to some optional equipment installed
9- 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) OPTION(Serial_no, Option_name, Price) SALE(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 SALE and SALEPERSON 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started