Reputation: 33
I need to find which category of books were the most borrowed. So, I have the following UML diagram.
So when making the dimension tables and fact table I've come up up with the following:
But the Auth (dimension)association table doesn't seem right. Is there a mistake and how can I correct it? Edit: Probably Category and Publisher dimension tables shouldn't be there. They should be attached with book.
Upvotes: 1
Views: 1221
Reputation: 8148
your dimensional model needs to be redesigned.
Fact table must be "Auth" with the following fields:
Then you need 4 dimension tables:
Upvotes: 2