Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. (30 point) Consider the following relations for a database thatkepa track of sales in a car dealership: CAR(Serial no., Manufacturer, Price) CAR. SPAREPARTS(Serial no.,

image text in transcribed
2. (30 point) Consider the following relations for a database thatkepa track of sales in a car dealership: CAR(Serial no., Manufacturer, Price) CAR. SPAREPARTS(Serial no., Spareparts name, Price) SALE(Sal SALESPERSON Salesperson id., Name, Phone) id., Serial no., Date, Sale price a. (10 pts) Specify the foreign keys for this schema, stating any assumptions you make. b. (8 pts) Populate each relations with two sample tuples. c. (12 pts) 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Students also viewed these Databases questions

Question

Is the person willing to deal with the consequences?

Answered: 1 week ago