1> from
2> on
3> join
4> where
5> group by
6> with cube 或 with rollup
7> having
8> select
9> distinct
10> order by
11> top
sql执行顺序
原文:https://www.cnblogs.com/vanjs/p/10841805.html