Question: Define a view named PartOrder. It consists of the part number, description, price, order number, order date, number ordered, and quoted price for all order
Define a view named PartOrder. It consists of the part number, description, price, order number, order date, number ordered, and quoted price for all order lines currently on file.
a. Using SQL, write the view definition for PartOrder.
b. Write an SQL query to retrieve the part number, description, order number, and quoted price for all orders in the PartOrder view for parts with quoted prices that exceed $100.
c. Convert the query you wrote in Question 3b to the query that the DBMS will actually execute.
Step by Step Solution
3.44 Rating (163 Votes )
There are 3 Steps involved in it
a CREATE VIEW PartOrder AS SELECT PartPartNum Description Price OrderNum OrderDate Nu... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
671-CS-DB (972).docx
120 KBs Word File
