Answered step by step
Verified Expert Solution
Link Copied!

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

4.6 Given an e-commerce source database schema with an underlined primary key attribute and foreign
key constraints as follows:
CustomerCode. FullName Email.Address.RegistrationTime)
Product(ProductCode,Name,type,Origin,SellingPrice,ActualPrice,Quantity)
Order(OrderCode.CustomerCode.QuantityValue)
transationItem(ProductCode,OrderCode,QuantityValue)
Discount(DiscountCode, 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 Order_orderCode
Let's design a star schema to support analysis of the time frame of the day/week/month/quarter/year 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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data In Just 7 Chapters

Authors: Prof Marcus Vinicius Pinto

1st Edition

B09NZ7ZX72, 979-8787954036

More Books

Students also viewed these Databases questions

Question

What is really the cause of the conflict?

Answered: 1 week ago