Q
Question Boy
Hello,
I'm having difficulty writing a query and was hoping someone could help me
out.
I have a table 'orders' which contains numerous fields, of which 3 are of
particular interest to me 'order_status', 'clientid1' and 'clientid2'. I also
have a table 'clients' which has a primary key 'client id'. What I am trying
to do is return all the data from the 'clients' table for the associated
clientid1 and clientid2 where the order_status="conf".
I get lost because of the need to get the info for clientid1 and clientid2.
If it were a simple Right Join ON I would be ok, but don't know how to handle
this one.
Thank you for the help,
QB
I'm having difficulty writing a query and was hoping someone could help me
out.
I have a table 'orders' which contains numerous fields, of which 3 are of
particular interest to me 'order_status', 'clientid1' and 'clientid2'. I also
have a table 'clients' which has a primary key 'client id'. What I am trying
to do is return all the data from the 'clients' table for the associated
clientid1 and clientid2 where the order_status="conf".
I get lost because of the need to get the info for clientid1 and clientid2.
If it were a simple Right Join ON I would be ok, but don't know how to handle
this one.
Thank you for the help,
QB