Question: Based on the table structure (not data) of the PVFC tables presented, write a query to answer the following question: Show all orders containing product

Based on the table structure (not data) of theBased on the table structure (not data) of the PVFC tables presented, write a query to answer the following question: Show all orders containing product 2. For each selected record, display OrderId and OrderedQuantity. Sort the results by OrderedQuantity.

Order_T OrderLine_T Order ProductID Ordered Quantity Ordered Customerid Order Date 1001 1 2 1001 1 2010-10-21 1001 2 1002 8 2010-10-21 1001 1 1003 15 2010-10-22 1002 3 5 1004 5 2010-10-22 1003 3 3 1005 3 2010-10-24 1004 6 2 1006 2 2010-10-24 1004 8 2 1007 11 2010-10-27 1005 3 1008 12 2010-10-30 1006 4 1 1009 4 2010-11-05 1006 5 2 1010 1 2010-11-05 1006 7 2 1007 1 3 Employee_T 1007 2 2 Emploveel 1008 3 3 Employee Name Employee Supervisor 123-44-345 Jim Jason 1008 3 454-56-768 8 454-56-768 1009 4 2 Robert Lewis 1009 7 3 Product T 1010 8 10 Product ProductLineID Product Description ProductFinish Product Standard Price 1 1 End Table Cherry 175.00 2 Coffee Table Natural Ash 200.00 3 Computer Desk Natural Ash 375.00 4 Entertainment Center Natural Maple 650.00 5 Writers Desk Cherry 325.00 6 8-Drawer Desk White Ash 750.00 7 Dining Table Natural Ash 800.00 8 3 Computer Desk Walnut 250.00 N-DONNNNNN NNNN

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!