Datawarehousing Interview Questions

1) What kind of Cardinality exists between Fact and Dimension tables?
2) Bridge tables - Do we need surrogate keys?



Answers coming soon !!!


Answers in the comments below -

3 Comments

  1. A dimension key will have multiple entries in the Fact table, so the cardinality according to me should be 1:Many (Dimension:Fact)

    ReplyDelete
  2. After much more browsing on the above topic, I found that there might be many to many relationships between fact and dimensions , in which case the concept of bridge tables comes in.
    Ex - Order Fact table and Salesperson dimension table.
    1 sales person can take multiple orders and multiple sales persons can collaborate on a single order.

    ReplyDelete
  3. Explore this link

    http://blog.oaktonsoftware.com/2011/04/bridge-tables-and-many-to-many.html

    ReplyDelete
Previous Post Next Post

Contact Form