Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A student built a car database with three tables, listed as follows, . CarVIN. Year, Model, Price, mID, SSN). Note the manufacturer of a car

image text in transcribed

A student built a car database with three tables, listed as follows, . CarVIN. Year, Model, Price, mID, SSN). Note the manufacturer of a car has a unique ID called mID, and SSN is the social security number of the car owner Customer(SSN, Name, Age, Birthday) Manufacturer(mID. Name. Address); In this database, every customer can have many cars, but one car can only be owned by a single customer. Please use relational algebra to answer the following queries. Note only the five basic operators plus renaming and join are allowed 1. Find the model and price for all the cars that are manufactured by "Aston Martin" 2. Find the VINs of all the cars that are owned by people named "James Bond" 3. Find all car models that have a price less than 100,000, are manufactured in or after 2016, and are not manufactured by "Ford" (Note in relational algebra, the "not equal" is represented by >)

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

Database Design Query Formulation And Administration Using Oracle And PostgreSQL

Authors: Michael Mannino

8th Edition

1948426951, 978-1948426954

More Books

Students also viewed these Databases questions

Question

What is a contingent workforce?

Answered: 1 week ago

Question

Describe loss aversion and myopic loss aversion.

Answered: 1 week ago