T
Thomas Zaleski
I have 5 tables in my dataset that I have pulled all records for from
the database. The table structure look like this:
Products(productid, productname)
Product2Category(productid, categoryid)
Category(categoryid, categoryname)
Product2Genre(productid, genreid)
Genre(genreid, genre name)
So basically, when someone clicks on a category, i.e. categoryid = 5,
then I would like to pull all associated genres (DISTINCT) for the
products corresponding to category id = 5.
How would I navigate and pull that data.
Please let me know.
Thanks.
the database. The table structure look like this:
Products(productid, productname)
Product2Category(productid, categoryid)
Category(categoryid, categoryname)
Product2Genre(productid, genreid)
Genre(genreid, genre name)
So basically, when someone clicks on a category, i.e. categoryid = 5,
then I would like to pull all associated genres (DISTINCT) for the
products corresponding to category id = 5.
How would I navigate and pull that data.
Please let me know.
Thanks.