Question

2. Given the following database: Vehicles(manufacturer,model,color,miles,vin) Vans(manufacturer,model,passengers,cylinders,ABS,price) Cars(manufacturer,model,cylinders,ABS,price) SUVs(manufacturer,model,passengers,cylinders,ABS,price) write the follow

2. Given the following database:

Vehicles(manufacturer,model,color,miles,vin)

Vans(manufacturer,model,passengers,cylinders,ABS,price)

Cars(manufacturer,model,cylinders,ABS,price)

SUVs(manufacturer,model,passengers,cylinders,ABS,price)

write the following queries using relational algebra

(a) Find vin and color of all vehicles with price ≥ 15,000.

(b) List manufacturer, model and price of all the blue VANs with price under 12,000.

(c) Find the model number and price of all vehicles of any type made by ”honda”.

(d) Find those manufacturers that make Cars but not Vans.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Vehicles(manufacturer,model,color,miles,vin)

Vans(manufacturer,model,passengers,cylinders,ABS,price)

Cars(manufacturer,model,cylinders,ABS,price)

SUVs(manufacturer,model,passengers,cylinders,ABS,price)

1. Find vin and color of all vehicles with price ≥ 15,000.

  

2. List manufacturer, model and price of all the blue VANs with price under 12,000.

3. Find the model number and price of all vehicles of any type made by ”honda”.

4.  Find those manufacturers that make Cars but not Vans.

Add a comment
Know the answer?
Add Answer to:
2. Given the following database: Vehicles(manufacturer,model,color,miles,vin) Vans(manufacturer,model,passengers,cylinders,ABS,price) Cars(manufacturer,model,cylinders,ABS,price) SUVs(manufacturer,model,passengers,cylinders,ABS,price) write the follow
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT