| Subject | Re: Unexpected behaviour when using union | 
|---|---|
| Author | roydamman | 
| Post date | 2012-06-28T23:03:06Z | 
Hello Ismael!
            >The query is indeed accepted by Firebird, but the sorting result is wrong as for a single select (as found out later).
> select * from (select "TESTID", "NAME" from test
> union select "TESTID", "NAME" from test) t order by upper(2)
>