DimProduct DimSubcategory Dimcategory productpk subcategorypk categorypk sku subcategoryName categoryName productName categorypk subcategorypk Snow flake schema has one weakness, Take the product dimension sample, its has subcategory attribute. If we…