Hi all,
Sorry that I couldn't put my subject any better than this..
Here's the description of the problem I have:
I have tables "USER", "TREE" and "LABEL". Each user has a primary, secondary and location tree, each of which is stored in "TREE" table. Each tree has its name in "LABEL" table.
I need to create a query that would return:
"USER".id, "USER".loctree_id, loctree's label, "USER".primtree_id, primtree's label, "USER".sectree_id, sectree's label
So, basically, I need three labels in a single query.
How do I do that?
Thanks in advance.
Sorry that I couldn't put my subject any better than this..
Here's the description of the problem I have:
I have tables "USER", "TREE" and "LABEL". Each user has a primary, secondary and location tree, each of which is stored in "TREE" table. Each tree has its name in "LABEL" table.
I need to create a query that would return:
"USER".id, "USER".loctree_id, loctree's label, "USER".primtree_id, primtree's label, "USER".sectree_id, sectree's label
So, basically, I need three labels in a single query.
How do I do that?
Thanks in advance.