Subject | RE: [firebird-support] Re: Plan Syntax |
---|---|
Author | Helen Borrie |
Post date | 2008-03-14T01:46:14Z |
At 09:57 AM 14/03/2008, Sean wrote:
./heLen
>Adam,But UNION ALL is not UNION. The default for UNION is UNION DISTINCT. We've even got explicit UNION DISTINCT syntax, a la SQL-99, introduced from Fb 2.0 onward.
>
>> 'Union' returns
>> only unique records across the entire set (including the subsets you
>> put the distinct clause in).
>
>Don't forget that "UNION ALL" does NOT remove duplicates.
./heLen