Hi people,
Kind of new to designing databases and would like some help on the following.
I have a database with 2 sections, services and styles.
section_id, section_name
-----------------------------
1, services
2, styles
I have another table with a list of subsections for each main section linked using the section_id.
(sub_section_id, sub_section_name, section_id)
In my products table i have a list of products.
(product_id, product_name, product_description, product_image)
Here is my problem, each product falls under multiple subsections...for example,
A product might fall under the subsection dark and also under the subsection minimal, so when the user clicks on either of these links on the page, the product is then returned under that subsection.
How would i go about setting something like that up in the database, being new to this im a little confused.
Thanks
