Subject | Re: Poor query performance with large tables - Please help |
---|---|
Author | Ali Gökçen |
Post date | 2005-10-13T13:01:08Z |
> I'd be very interested to know how you can write an aggregate queryWhat is the problem with this:
> without the group by clause.
>
select min(B),max(B),count(*)
from myTable
where A=10
Why you are fetching all A's? to be sure about to they are exactly 10?
Ali