I need to setup a database for my product. I need to store product name, product prize, product detail, and product features in this database. One product has more than one feature now how can I setup this database?
I have setup a database with two tables
- Product_detail has id, p_name, p_detail, p_prize and
- Product_ features has id,p_ features (there are one more feathers for one database)
Is it correct? If correct so how can I make relation between a product and its features? And how can I retrieve the data from database?
If this is wrong so how can I make this?