Question: When creating the star schema models below, be sure to designate an appropriate primary key for each fact table and dimension table. a ) Star
When creating the star schema models below, be sure to designate an appropriate primary key for each fact table and dimension table.
a Star Schema with Aggregated Fact Table: Using the data shown above for the ZAGI Retail Company Scenario, create a dimensional model containing an aggregated fact table for Sales, where a fact table shows a summary of units sold and dollars sold for purchases of each product
in each store for different dates.
b Star Schema with LineItem Detailed Fact Table: Next, create a new dimensional model containing a lineitem detailed fact table that tracks Sales by stores, customers, products, and different dates. The fact table should include the units sold, the dollars sold for each line item of
each sales transaction, and the transaction time TTime Be sure to include an appropriate primary key for the fact table that identifies each row ie each sales transaction and each product in the sales transaction
c Constellation of LineItem Detailed Fact Tables: Now ZAGI needs to track Sales and Returns assume return information is available Create a star schema with two fact tables. One fact table should be a lineitem detailed fact table just like the one described in question b above. The
second fact table should be a lineitem detailed fact table that tracks Returns by products, customers, stores, and different dates. The additional fact table should include the units returned, the dollars returned for each line item of each return transaction, and the transaction time TTime Be sure to include an appropriate primary key for the fact table that identifies each row ie each return transaction and each product in the return transaction
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
