Subject | Re: FB 1.5 final hangs with this exists statement |
---|---|
Author | james_027 |
Post date | 2004-03-11T09:55:18Z |
Hi Helen
script is wrong? and why is it the first one work while the second
makes my FB hangs and the only difference between the two sql
statement is the '<' and the '<'.
Thanks again.
Regards,
James
> Yes, this should do them both:Thanks a lot! But for the sake of learning may I ask if my original
>
> select m."Cust ID", m."Deliver Date", m."Grand Total"
> from "DR" m
> where m."Cust ID" = 205
> and m."Grand Total" =
> (select MAX(d."Grand Total")
> from "DR" d
> where d."Cust ID" = 205)
>
> select m."Cust ID", m."Deliver Date", m."Grand Total"
> from "DR" m
> where m."Cust ID" = 205
> and m."Grand Total" =
> (select MIN(d."Grand Total")
> from "DR" d
> where d."Cust ID" = 205)
>
script is wrong? and why is it the first one work while the second
makes my FB hangs and the only difference between the two sql
statement is the '<' and the '<'.
Thanks again.
Regards,
James