Products and Brands: A Database Question
I’m trying to consider the best way to organize a data store. Maybe some of my IT friends can shed some light on it. I want a collection of standard household food products. The problem is how to handle different brands or sizes of the same product. Consider rice for example. We usually purchase family size bags of Success Boil-in-Bag white rice. When the grocery store doesn’t have the family size bags, we’ll purchase the normal bags. Occasionally, they don’t have any Success brand rice, so we’ll buy store brand or some other brand. With just white rice, that would be at least four unique items that all serve effectively the same purpose. If I’m going to the grocery store to get rice, I don’t truthfully care what brand or size at the end of the day. Once the rice makes it to the place, I couldn’t care less what the box looks like. I need some way to consolidate each of those records into the same group. UPC as Primary Key At first, I considered making the UPC the primary key and having...