Question: For this homework assignment you will need to utilize the Classic Cars information located here - http://richardtwatson.com/dm6e/Reader/ClassicModels.html use this database to answer these questions. I
For this homework assignment you will need to utilize the Classic Cars information located here - http://richardtwatson.com/dm6e/Reader/ClassicModels.html
use this database to answer these questions. I only need to see the SQL you write to answer each of these queries.
One to many relationship
i. List the value of 'On Hold' orders.
j. Report the number of orders 'On Hold' for each customer.
Many to many relationship
k. List those orders containing items sold at less than the MSRP.
l. Reports those products that have been sold with a markup of 100% or
more (i.e., the priceEach is at least twice the buyPrice)
m. List the products ordered on a Monday.
n. What is the quantity on hand for products listed on 'On Hold' orders?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
