Subject | Re: [firebird-support] is there a way around the IN clause? |
---|---|
Author | Daniel Rail |
Post date | 2004-09-09T10:27:24Z |
Hi,
At September 9, 2004, 06:03, Martijn Tonies wrote:
--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)
At September 9, 2004, 06:03, Martijn Tonies wrote:
> Hi,That would give the same that I posted.
>> >select
>> >c.name, c.surname, c.telephone, c.lastorderdate
>> >from customers c
>> >where NOT EXISTS (
>> > select customerlink from orders
>> > where
>> > recdate > '01-jan-2004' and
>> > recdate < '01-feb-2004' and
>> > branchcode = 'SAN'
> Does adding this help:
> and orders.customerlink = c.link
--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)