Subject | Re: simple join - or is it |
---|---|
Author | zlatko.ivankovic |
Post date | 2008-03-20T19:13:57Z |
--- In firebird-support@yahoogroups.com, Lester Caine <lester@...>
wrote:
Hi, Lester
I am not quite sure if I get you right, but maybe this will help
select MainTable.MainField
, SecondTable.SecondField
from MainTable
left outer join SecondTable on SecondTable.MainTableID =
MainTable.MainTableID
Regards,
Zlatko
wrote:
>select is
> My 'solution' to the problem is now a CASE statement so that the
> only active when records of a particular type are found. This maybe the right
> solution later anyway as other tables will link to other datatypes, but for
> the simple case shouldn't ONE of the 'join' formats allow me todisplay the
> main list and include lines from the second inter table whereappropriate?
Hi, Lester
I am not quite sure if I get you right, but maybe this will help
select MainTable.MainField
, SecondTable.SecondField
from MainTable
left outer join SecondTable on SecondTable.MainTableID =
MainTable.MainTableID
Regards,
Zlatko