Hello All,
I'm failling to get my head around a normalisation and db design issue, and
was hoping someone may be able to offer some comments.
I have two tables ProductGroups and ProductItems.
ProductGroups has a Manufacturer, Model, and Image (cutting it to basics)
ProductItems has a MasterID field - relating to a ProductGroup so that each
item can be associated with a particular ProductGroup, however, although the
majority of items are specifically associated with one ProductGroup some
items are more general and can be associated with any number of
ProductGroups.
I'm not sure how to address this in the best manner, as I don't want to be
repeating data as will be the case currently. Will it be best to have one
productitems table for specifically related items and one for the more
general items? The more I think about it the more I seem to confuse myself!
Any help greatly appreciated.
Cheers,
D.
I'm failling to get my head around a normalisation and db design issue, and
was hoping someone may be able to offer some comments.
I have two tables ProductGroups and ProductItems.
ProductGroups has a Manufacturer, Model, and Image (cutting it to basics)
ProductItems has a MasterID field - relating to a ProductGroup so that each
item can be associated with a particular ProductGroup, however, although the
majority of items are specifically associated with one ProductGroup some
items are more general and can be associated with any number of
ProductGroups.
I'm not sure how to address this in the best manner, as I don't want to be
repeating data as will be the case currently. Will it be best to have one
productitems table for specifically related items and one for the more
general items? The more I think about it the more I seem to confuse myself!
Any help greatly appreciated.
Cheers,
D.
Comment