I have a pretty basic question that I imagine would require a join to pull off. However I am very new to mysql! Here is what I need to pull off:
I have 3 tables:
Products
, attributes
, and products_to_attributes
What I need to do is select the attributes which are associated to the product I want to query, based off the products_to_attributes
table.
So lets say my product id=1
, I need to grab all the rows in the attributes tables based off the products_to_attributes
table which simply holds the pid to aid.