Q1) CAR (Serial-No, ModConsider the given relations for database which keeps track of auto sales in car dealership (Option refers to some optional equipment installed on an auto):
el, Manufacturer, Price),
i) OPTIONS (Serial-No, Option-Name, Price),
ii) SALES (Salesperson-id, Serial-No, Date, Sale-price)),
ii) 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.