What is the difference between a fact table and a dimension table in a star schema, and how does a star schema compare to a snowflake schema?

technical-conceptual · Junior level · data-ml

What the interviewer is really asking

Assess whether the candidate understands dimensional modeling fundamentals and can reason about the normalization trade-off between star and snowflake schemas.

What to say

What to avoid

Example answers

Strong: For a sales mart I built a fact_sales table with the measures (amount, quantity) and foreign keys to dim_customer, dim_product, and dim_date, keeping the dimensions denormalized so the BI tool needed only single joins — analysts found it easy and queries were fast.

Weak: A fact table and a dimension table are the same; you just name them differently.

Want questions matched to your role? Paste a job title, job description, or CV and get a personalized set, or go Pro to unlock the full bank.