- Edited
NogDog The
featured_zone_n
columns certainly smell like a many-to-one relationship that might be handled better by a separate table.
I had wondered if that would be better served by an integer value that tells what zone and/or combination of zones were 'featured'. But again that sounds like moving logic OUT of the DB. Of course, I'm not sure that logic in the DB is the best way...
NogDog It may make sense to move things like color, condition, and engine to separate tables to ensure the ability to join to all items that have color.key, versus hoping they all spell it "blue" and not "bleu".
Can you clarify? Do you mean have a table of colors, like this?
mysql> describe color;
| id | color |
==============
| 1 | blue |
| 2 | red |
mysql> select id,title,color from products limit 2;
| 1234 | Chevy Spark | 1 |
| 1235 | Ford Focus | 2 |
Or more like this?
mysql> select * from colors;
|1234 | blue |
|1235 | red |
Or do you mean something else entirely?