Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
-
Logically any
SELECT
is processed in following order:- from
- where
- group by
- having
- olap functions
- qualify
- select
- sample
- order by
Besides the proprietary
QUALIFY/SAMPLE
every DBMS will do it exactly …