Difficulty: Easy
Correct Answer: One-to-many
Explanation:
Introduction / Context:
A Star Schema is a common dimensional modeling technique used in data warehousing for fast analytics. Understanding the cardinality between dimension tables (such as Date, Product, Customer) and the central fact table (such as Sales Fact) is fundamental to correct schema design and query performance.
Given Data / Assumptions:
Concept / Approach:
Each dimension row (for example, a single product) can be associated with many events or transactions in the fact table (many sales). Therefore, from a dimension row to fact rows the cardinality is one-to-many. The reverse (from a specific fact row to a specific dimension row) is many-to-one by the foreign key relationship.
Step-by-Step Solution:
Verification / Alternative check:
Inspect sample data: one ProductID appears repeatedly in Sales Fact for multiple orders and days, confirming one-to-many from Product (dimension) to Sales Fact.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing the schema-wide many-to-many business reality (many customers buy many products) with the relational link between a single dimension table and the fact table, which is implemented as one-to-many via foreign keys.
Final Answer:
One-to-many
Discussion & Comments