Subject | Re: [firebird-support] Firebird 1.5 don't like count + order by ? |
---|---|
Author | Aage Johansen |
Post date | 2004-06-15T18:41:49Z |
Fabrice Vendé wrote:
{When using an alias (Q0) you should always use the alias (like: Q0.ac_code)}
--
Aage J.
> This don't work on firebird 1.5 but worked fine on firebird 1.0X :The query will return a single number, there is nothing to "order".
>
> select count(distinct(ACTIONS.ac_code)) as NOMBRE
> from actions Q0
> ...
> where ...
> order by q0.ac_Date_prevu DESC
{When using an alias (Q0) you should always use the alias (like: Q0.ac_code)}
--
Aage J.