Question: One of the purchasing managers is interested in the impact of product prices on the sale of products of each brand. Write a query to
One of the purchasing managers is interested in the impact of product prices on the sale of products of each brand. Write a query to display the brand name, brand type, average price of products of each brand, and total units sold of products of each brand. Even if a product has been sold more than once, its price should only be included once in the calculation of the average price. However, you must be careful because multiple products of the same brand can have the same price, and each of those products must be included in the calculation of the brands averageprice.
.png)
Brand NameBrand Type Average Price Units Sold BINDER PRIME BUSTERS FORESTERS BEST VALUE HOME COMFORT CONTRACTOR LE MODE LONG HAUL OLDE TYME QUALITY CONTRACTOR STUTTENFURST VALU-MATTE PREMIUM VALUE 3753 3727 2086 4842 5284 5728 3614 3671 2485 22.59 20.94 21.8 PREMIUM CONTRACTOR 20.12 18.33 16.47 16.84 CONTRACTOR VALUE
Step by Step Solution
3.41 Rating (164 Votes )
There are 3 Steps involved in it
SELECT brandname brandtype Roundavgprice2 AS Average Price Units Sold FR... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
358-CS-DB (734).docx
120 KBs Word File
