Subject | Re: [firebird-support] Stupid Programmer or a bug? |
---|---|
Author | Ann W. Harrison |
Post date | 2007-06-08T16:45:31Z |
Dalton Calford wrote:
simple fields - not aggregates - that aren't in the grouping list.
I'm not sure what you're trying to do, but I doubt very much
that you can group by an aggregate that depends on the grouping.
What are you trying to do?
Regards,
Ann
>That should have returned an error because you're returning
> So I use IB_SQL to create a simple query
>
> select zone, description, count(description) as calls, sum(duration)
> from report group by calls order by description
simple fields - not aggregates - that aren't in the grouping list.
I'm not sure what you're trying to do, but I doubt very much
that you can group by an aggregate that depends on the grouping.
What are you trying to do?
Regards,
Ann