Question: We have the database CAR(vin, make, model, year, color, num-doors, price) DEALERSHIP(dealer-id, name, brand, address, city, state, zip) LOT(vin, dealer-id, arrival-date) where vin is the

 We have the database CAR(vin, make, model, year, color, num-doors, price)

We have the database CAR(vin, make, model, year, color, num-doors, price) DEALERSHIP(dealer-id, name, brand, address, city, state, zip) LOT(vin, dealer-id, arrival-date) where vin is the primary key of CAR and both a primary key and a foreign key in LOT (a car can only be in one lot, but it has to exist!), dealer-id is the primary key of DEALERSHIP and a foreign key in LOT, and brand is a value from make or the value 'any': make is one of Toyota, Honda, BMW, etc. Express the following questions in Relational Algebra. Use only the operators seen in class. Make sure to use renaming when appropriate! (a) List the name of dealerships selling any blue Honda (make) Accords (model), 2015 or older (year). (b) List the name of dealerships in Louisville that sell Hondas or Toyotas. (c) List the name of dealerships in Louisville that sell Hondas and Toyotas. (d) List the names of cities with 2 or more BMW dealerships. (e) List the names of dealerships where no car is under $50,000

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!