Subject | Re: Performance troubles |
---|---|
Author | steffengrondahl |
Post date | 2005-10-27T12:21:38Z |
--- In firebird-support@yahoogroups.com, Ali Gökçen <alig@e...> wrote:
suggestions.
It seems like firebird prefers joins made with explicitely use of join
rather than the implicit call in my code and the code above.
>Thanks but it doesn't seem to work fast enough. So I keep to the other
> select contactno from contacts c
> where state in(1,2)
> AND
> exists(select sum(giftvalue)
> from gifts
> where contactno = c.contactno
> and someotherfield = 'somevalue'
> having sum(giftvalue)>=100
> )
>
> My "AND" eaten by some by some brain bugs.
>
suggestions.
It seems like firebird prefers joins made with explicitely use of join
rather than the implicit call in my code and the code above.