`

sql执行顺序

    博客分类:
  • hive
阅读更多

 

 

 

 

.SQL执行顺序: 
(8)SELECT (9)DISTINCT  (11)<Top Num> <select list>
(1)FROM [left_table]
(3)<join_type> JOIN <right_table>
(2)ON <join_condition>
(4)WHERE <where_condition>
(5)GROUP BY <group_by_list>
(6)WITH <CUBE | RollUP>
(7)HAVING <having_condition>
(10)ORDER BY <order_by_list>
   

 

先是行过滤,在是列过滤

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics