MySQL Forums
Forum List  »  InnoDB

Re: 3 Table Query
Posted by: O' henry
Date: July 11, 2005 06:57PM

KimSeong Loh wrote:
> You can try
> C left join A on (C.accountCode=A.aCode and
> A.Tcode=0)
> left join B on(C.accountCode=B.aCode and
> B.Tcode=0)
>
> Is the ACode a primay key of unique key in table A
> and B, if not you will get multiple matches, and
> that may not be what you want.


Your assumption is Correct Kim, thanks for the Help...
God Bless

Options: ReplyQuote


Subject
Views
Written By
Posted
2738
July 11, 2005 02:13AM
1974
July 11, 2005 05:39AM
1936
July 11, 2005 06:01PM
1901
July 11, 2005 06:35PM
Re: 3 Table Query
1968
July 11, 2005 06:57PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.