La richiesta
“A retail sales star schema with a Sales fact table linked to Date, Product, Store, and Customer dimensions, storing quantity and sales amount.”
Prova alloraAdd a promotion dimension to SalesAdd a sales channel dimension
Cosa contiene questo disegno
Leggi le decisioni che ne stanno alla base.
01
Use a star schema with a single fact table containing foreign keys to each dimension and additive measures.
02
Each dimension table is denormalized with descriptive attributes.
03
Relationships from fact to dimensions are many-to-one (many sales per dimension row).
When building a data mart for retail sales analytics, where queries involve aggregating measures by dimension attributes.