We have a database that includes information on various features of houses. In this context, what would be the best way to store something like the number of features (such as jacuzzis) a house has --
Create a new column like this?
Or something like this?
Are there good rules of the thumb for making this kind of decision, especially if there are lots of possible features? How much does it matter how common a given feature is (only a few homes have jacuzzis but chimneys are much more common.)
Thank you!
Create a new column like this?
Code:
ID,feature1,feature2,feature3,jacuzzi_count,etc
Or something like this?
Code:
ID,Feature_Type,Quantity
Are there good rules of the thumb for making this kind of decision, especially if there are lots of possible features? How much does it matter how common a given feature is (only a few homes have jacuzzis but chimneys are much more common.)
Thank you!