Subject | RE: [firebird-support] The First to select |
---|---|
Author | Alan McDonald |
Post date | 2006-02-13T04:35:11Z |
snip
Alan
>Helen has always said that the latter is the true state, i.e. a full scanis
>performed before an order by clause starts filtering the return set but insnip
> SELECT FIRST m doesn't make sense *unless* it's from an orderedHelen - I assume an order by clause is used - I state as much
> set. The engine can't know which are the first m records of the full
> set until it has the full set and then has sorted it. If joins are
> involved, then the joins will happen first, since the content of set
> won't be known until the join criteria have been satisfied.
>
Alan