Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Previous Info: Write the following SQL statement: Scenario 2: The R&D department of PVFC is conducting a study for its new product design. The department
Previous Info:
Write the following SQL statement:
Scenario 2: The R&D department of PVFC is conducting a study for its new product design. The department needs to find out how existing products are priced differently based on product type, wood finish and product line. As a data analyst in the Bl department, you are given the following three sets of requirements and asked to generate three result sets from the PVFD DB for the R&D department. Requirement 2.1 *For each product line ID, calculate the average and the highest standard price Display the product line ID and the calculated data if the highest standard price is above $500 AVG(Standard-Price),- - - FROM Product T GROUP BY Product_Line ID HAVING 500 Page 2 of 6 OIM360, Spring 2018 Isenberg School of Management, UMass Amherst ui . Select the products of which the product line ID is 2 or 3 .For each product finish, calculate the number of products and the lowest standard price Display the product finish and the calculated data if the average standard price is below $700 . Sort the result set by product finish in alphabetical order OUNT SELECT FROM Product T WHERE GROUP BY HAVING AVG(Standard_Price) ORDER BYStep 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