Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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