Subject | Re: [ib-support] Join Table with self |
---|---|
Author | Arno Brinkman |
Post date | 2002-06-12T11:07:35Z |
Hi,
Select * from GenLedger where Actn = 'C'
but without the very slow IN statement
Regards,
Arno
> I would probably do this aswhen
> Select * from GenLedger where Tranref in (select Tranref from GenLedger
> Actn = 'C') Especially if Actn does not have an index on it.Isn't that the same as :
>
> What do the two different Q's return as a plan?
>
> JAC
Select * from GenLedger where Actn = 'C'
but without the very slow IN statement
Regards,
Arno