Subject | Re: outer joins |
---|---|
Author | Ed Dressel |
Post date | 2004-08-04T21:58:17Z |
> selectmatch */
> blah....,
> CO.CompanyName,
> blah...
> from ActionLog AL
> left join ClientInfo CI
> on CI.Client_ID = AL.Client_ID /* nulls in client fields if no
> left join CompanyInfo COno match */
> on CI.Company_ID = CO.Company_ID /* nulls in company fields if
> where AL.Action_DateTime > '02-AUG-2004' <-- note you must use thealiases
> in the search clause (and also in group by and order by clauses, ifpresent)
>that gives me exactly what I wanted--and is what I thought I was
doing in the first place (before I posted here). Thanks for your time.
Ed Dressel