How to represent many similar attributes of an entity in a database?
问题 Let's say I'm building a website about cars. The car entity has a lot of enum-like attributes: transmission (manual/automatic) fuel (gasoline/diesel/bioethanol/electric) body style (coupe/sedan/convertible/...) air conditioning (none/simple/dual-zone) exterior color (black/white/gray/blue/green/...) interior color (black/white/gray/blue/green/...) etc. The list of these attributes is likely to change in the future. What is the optimal way to model them in the database? I can think of the