Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

h) Create the following VIEWS. Copy-paste the relevant SQL script below each bullet. View name: INSTOCK [4] (Inventory code, Year, Make, Model, Trim Line, VIN

h) Create the following VIEWS. Copy-paste the relevant SQL script below each bullet. View name: INSTOCK [4] (Inventory code, Year, Make, Model, Trim Line, VIN number, exterior color, interior color, listed price, dealer name) for only those vehicles in inventory that are available for sale. Query view above to retrieve listing (all attributes) of cars whose make is Honda or Ford. [2]

View name: INSTOCKUSED [5] (Inventory code, Year, Make, Model, Trim Line, VIN number, exterior color, interior color, mileage, listed price, blue book value, dealer name) for only used vehicles in inventory that are available for sale. Note: used vehicles are denoted by U or u values for new or used.

Query view above to retrieve listing (all attributes) of cars whose make is Honda or Ford. The list should only consist of cars with mileage under 50000, or listed price is no more than 90% of blue book value.

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 Systems A Practical Approach To Design Implementation And Management

Authors: THOMAS CONNOLLY

6th Edition

9353438918, 978-9353438913

More Books

Students also viewed these Databases questions