Subject | Re: outer join help |
---|---|
Author | Ed Dressel |
Post date | 2007-04-26T13:12:47Z |
> What I think you're looking for, is this:works perfectly. Thank you.
>
> select <fields> //probably more sensible than count(*)
> from clientinfo C
> left join PersonInfo PE
> on PE.Client_ID = C.Client_ID
> and PE.person_type_id = 0
> left join PaycheckInfo Pay
> on Pay.Person_ID = PE.Person_ID
> and Pay.sequence = 1
>
Appreciate all the help from everyone.
Ed Dressel