An e-commerce business wants to analyze their sales data. They have facts like "total sales" and "number of items sold" and dimensions like "time," "product," and "customer." In a star schema, how should these tables be related?

  • All dimension tables directly connected to the fact table
  • Dimension tables connected in a hierarchy
  • Each dimension table connected to all other dimension tables
  • No relationships between tables
In a star schema, all dimension tables are directly connected to the fact table, which represents the center of the schema. This design simplifies queries and ensures quick access to data for analytical purposes.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *