Question 10 Save Answer Adventure Works Cycle Data Warehouse: The Adventure Works Cycle Data Warehouse is available for your use in the course database server (follow the steps in Tutorial 2 to access...


Question 10<br>Save Answer<br>Adventure Works Cycle Data Warehouse: The Adventure Works Cycle Data Warehouse is available for your use in the course database server<br>(follow the steps in Tutorial 2 to access the data warehouse (named

Extracted text: Question 10 Save Answer Adventure Works Cycle Data Warehouse: The Adventure Works Cycle Data Warehouse is available for your use in the course database server (follow the steps in Tutorial 2 to access the data warehouse (named "aw") and review the course Handout 8, slides 13-18 for the description). You are required to complete the following MYSQL statement to perform this task: For each of the product category, display (in this order) the category name (in English), the total number of unique products belonging to the category, the total number of sales orders of the category, and the total sales amount in the category. (enter only one alphanumeric string in each blank below; do not enter space or other unnecessary symbols; assume that all strings are non-case sensitive. Hint: The sum of all the total sales should be equal to the sum of all the total sales in Question 8). SELECT c. AS 'Product Category', р. ) AS Num_Products, (f. ) AS Num_Orders, (f. ) AS Total_Sales FROM C, P. S, f WHERE p. =s. AND s. =c. AND f. =p. c.
FactInternetSales<br>DimPromotion<br>Productkey<br>DimCustomer<br>8<br>PromotionKey<br>OrderDatekey<br>7 Customerkey<br>PromotionAlternatekey<br>DueDatekey<br>Geographykey<br>ShipDatekey<br>Customer Alternatekey<br>CustomerKey<br>Promotionkey<br>Currencykey<br>SalesTerritorykey<br>DimDate<br>9 SalesOrderNumber<br>9 Datekey<br>pod SalesOrderLineNumber<br>FulDateAternatekey<br>RevisionNumber<br>DimGeography<br>OrderQuantity<br>V<br>Geographykey<br>UnitPrice<br>SalesTerritorykey<br>ExtendedAmount<br>UnitPriceDiscountPct<br>DiscountAmount<br>ProductStandardCost<br>DimCurrency<br>7 Currencykey<br>TotalProductCost<br>SalesAmount<br>CurrencyAlternatekey<br>ТахАmt<br>DimSalesTerritory<br>7 SalesTerrikoryKey<br>Freight<br>CarrierTrackingNumber<br>CustomerPONumber<br>SalesTerrkoryAlternate...<br>OrderDate<br>DimProduct<br>DueDate<br>7 Productkey<br>ShipDate<br>ProductAlternatekey<br>ProductSubcategorykey<br>StartDate<br>FactInternetSalesRea<br>9 SalesOrderNumber<br>T| SalesOrderLineNumber<br>DimProductSubcategc<br>DimProductCategory<br>9<br>ProductSubcategoryKey<br>ProductCategorykKey<br>ProductSubcategoryAlt...<br>ProductCategoryAkern..<br>7 SalesReasonkey<br>ProductCategorykey<br>

Extracted text: FactInternetSales DimPromotion Productkey DimCustomer 8 PromotionKey OrderDatekey 7 Customerkey PromotionAlternatekey DueDatekey Geographykey ShipDatekey Customer Alternatekey CustomerKey Promotionkey Currencykey SalesTerritorykey DimDate 9 SalesOrderNumber 9 Datekey pod SalesOrderLineNumber FulDateAternatekey RevisionNumber DimGeography OrderQuantity V Geographykey UnitPrice SalesTerritorykey ExtendedAmount UnitPriceDiscountPct DiscountAmount ProductStandardCost DimCurrency 7 Currencykey TotalProductCost SalesAmount CurrencyAlternatekey ТахАmt DimSalesTerritory 7 SalesTerrikoryKey Freight CarrierTrackingNumber CustomerPONumber SalesTerrkoryAlternate... OrderDate DimProduct DueDate 7 Productkey ShipDate ProductAlternatekey ProductSubcategorykey StartDate FactInternetSalesRea 9 SalesOrderNumber T| SalesOrderLineNumber DimProductSubcategc DimProductCategory 9 ProductSubcategoryKey ProductCategorykKey ProductSubcategoryAlt... ProductCategoryAkern.. 7 SalesReasonkey ProductCategorykey
Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here