Could someone give me a hint about database design:
Say I have a database with products. I have names, prices, category, etc.
I want to add tech. specifications to my products. For every product there are at least 8-10 specifications and values.
For example:
name: Wide Leather Belt
Tech. specs:
weight: ?? kgs.
color: ???
etc.
Is it better to keep them in the same table with the product, or separate?
tblSpecs
--------
spNum INT
spProduct INT <- should relate to prNum
spType ENUM('weight','color')
spValue VARCHAR(20)
INDEX(spProduct ),PRIMARY KEY(spNum)
Bookmarks