Discussion about this post

User's avatar
Sam's avatar

From the 3NF example: "Category depends on the ProductID, and can be split into its own table."

I absolutely get that this needs to happen, but I don't understand how this is described by the 3NF rule ("no non-key attribute is transitively dependent on the primary key") - is Category transitively dependent on the ProductID? It seems like Category is functionally dependent on the Product ID, no? Is there a 3NF rule that helps to describe this more clearly?

Expand full comment
Ramona C. Truta's avatar

I have a few questions on the 3NF and BCNF examples.

1. Is Supplier_Capabilities part of the 3NF decomposition of Suppliers? There are attributes here that were not in the original.

2. Similarly, in Supplier_Shipping_Capabilities there's a new attribute, ShippingCapabilityID that is new.

3. I'm wondering if having a range (2-3) for EstimatedDays does not contradict the 1NF indivisibility.

Do you intend to include the decomposition algorithms? Or, perhaps, elaborate more on how the decomposition was obtained?

Here's a tip for checking the decomposition: performing the union of the attributes of the decomposed relations should produce the set of attributes of the original relation.

Expand full comment
27 more comments...

No posts