Category "data-modeling"

Data warehouse design for parking lot - date and time dimensions

I came across a data warehousing practice question. I tried to think of various ways to design this but I'm not sure what the best practices are. The question d

Confused on the difference between One, and One and Only One in ERDs

Sorry for the links I'm new! I'm confused on the difference between one and one and only one and where they would be used. I just started the class so I apologi

Does Primary key in Dimension table have to be part of the Primary key in the Fact table?

We have a Star schema with a very big Fact table, and around 20 Dimension tables, of course the PK from Dimension Tables have to be FK in the Fact table. But d