Answered step by step
Verified Expert Solution
Question
1 Approved Answer
SQL Assignment 1 Copy your queries and paste it under each question. Upload the file to the Canvas submission folder. Using Teradata Viewpoint Database: db_pvfc11_big
SQL Assignment 1 Copy your queries and paste it under each question. Upload the file to the Canvas submission folder. Using Teradata Viewpoint Database: db_pvfc11_big 3. Retrieve the product line ID and the average standard price for products whose standard price greater than $200 in each product line. Include in the answer set only those product lines that have an average standard price of at least $500. 4. For each order, display the order ID, the number of separate products included in the order, and the total number of product units (for all products) ordered. 5. For each customer, list the Customerld and total number of orders placed. 6. Display the product ID and the number of orders placed for each product. Show the results in decreasing order by the number of times the product has been ordered and label this result column NumOrders
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