Hi I had a question 2 parts I got the first part.
I have the following tables(just the keys for used for joining are mentioned)
Sub Category SC_ID (PK)
Class C_ID(PK), SC_ID (FK)
Product P_ID(PK), C_ID (FK)
UPC UPC_ID ,P_ID(FK)
A product may have more than 1 UPC
input value =UPC_id
I have obtained SC_ID going upward
(Now I know what sub cat, class and product the input UPC belongs to)
Now I need to retrieve all UPCs under that Sub Category how do I do this
thanks
prester