Question: 4 . 6 Given an e - commerce source database schema with an underlined primary key attribute and foreign key constraints as follows: CustomerCode. FullName
Given an ecommerce source database schema with an underlined primary key attribute and foreign
key constraints as follows:
CustomerCode. FullName Email.Address.RegistrationTime
ProductProductCodeName,type,Origin,SellingPrice,ActualPrice,Quantity
OrderOrderCodeCustomerCode.QuantityValue
transationItemProductCodeOrderCode,QuantityValue
DiscountDiscountCode Value, ReleaseDate, ExpirationDate, OrderCode
Foreign key constraints:
Order CustomerCode references to Customer CustomerCode
TransactionItem.ProductCode references to Product Product Code
transactionItem OrderCode references to Order OrderCode
DiscountorderCode references to OrderorderCode
Let's design a star schema to support analysis of the time frame of the dayweekmonthquarteryear in
which each product of each product type is most traded by the customer different geographical regions. In
which, the time dimension has a hierarchy of: TransactionTime Hour Day Week Month Quarter
Year, the Product dimension has a hierarchy of ProductCode Type, and the Customer dimension has a
geographic hierarchy created from the Customer Address: CustomerCode Address Geographical Area
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
