Someone normally does this stuff for me but I want to do this one. I'm having trouble visualizing how a table should be laid out where you would have 6 categories of shirts. Each shirt may have different sizes and different names for those sizes. For example, Cat1 may have most shirts small, med, large but some have xlarge. Cat2 shirts have the same sizes but are called regular, macho but some also have supermacho.
Prices are different for each size and the prices in each size may not be the same in each category. iow, A small shirt in Cat1 may not be the same price as another small Cat1 or Cat2 shirt.
I have a feeling I'm trying to simplify the tables more than possible so I don't have repeating columns or repeating data in most of the columns. Like this:
shirt_id | size1 | size2 | size3
------------------------------------------
43 | small | medium | large
63 | macho | super | supermacho
67 | small | medium | large
Can someone get me started?
Prices are different for each size and the prices in each size may not be the same in each category. iow, A small shirt in Cat1 may not be the same price as another small Cat1 or Cat2 shirt.
I have a feeling I'm trying to simplify the tables more than possible so I don't have repeating columns or repeating data in most of the columns. Like this:
shirt_id | size1 | size2 | size3
------------------------------------------
43 | small | medium | large
63 | macho | super | supermacho
67 | small | medium | large
Can someone get me started?
Comment