Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A student built a car database with three tables, listed as follows, . Car(VIN, Year, Model, Price, mlD, SSN). Note the manufacturer of a car
A student built a car database with three tables, listed as follows, . Car(VIN, Year, Model, Price, mlD, 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 cus 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. tomer can have many cars, but one car can only be owned 1. Find the model and price for all the cars that are manufactured by "Aston 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 manufacturedn Martin" 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started