Subject | RE: [firebird-support] Sql query help |
---|---|
Author | Alan McDonald |
Post date | 2004-01-22T06:24:33Z |
> Also, a common gotcha when UNIONing is that it works a littleYou just lurk there don't you Darryl
> differently to
> a non-UNION SELECT. UNIONs return a DISTINCT result set by default, so I
> suggest that you might want to use the ALL predicate, eg,
>
> SELECT ....
> FROM ...
> UNION ALL
> SELECT ....
> FROM ...
> GROUP BY ...
>
> Regards,
>
> Darryl
Alan