Hi,
This is a little interesting to try and explain...
What I am trying to do is run a query... but what I'm finding is that on under some conditions an INNER join on soem tables are necessary.
However, on other conditions WHERE the USE of the tables are NOT applicable it will not return anything (reason: the INNER JOIN and that makes sense.) But I need the information WHERE the USE of the tables are not applicable.
I thought a LEFT JOIN would be the answer BUT a LEFT JOIN is providing more data. And I only need one row out of that. (That the INNER JOIN provided.)
So, basically I want to do an INNER JOIN on some cases and a LEFT JOIN on others where it is really not applicable. How can I do something like that?
Any info would be greatly appreciated.
Thanks
This is a little interesting to try and explain...
What I am trying to do is run a query... but what I'm finding is that on under some conditions an INNER join on soem tables are necessary.
However, on other conditions WHERE the USE of the tables are NOT applicable it will not return anything (reason: the INNER JOIN and that makes sense.) But I need the information WHERE the USE of the tables are not applicable.
I thought a LEFT JOIN would be the answer BUT a LEFT JOIN is providing more data. And I only need one row out of that. (That the INNER JOIN provided.)
So, basically I want to do an INNER JOIN on some cases and a LEFT JOIN on others where it is really not applicable. How can I do something like that?
Any info would be greatly appreciated.
Thanks