码迷,mamicode.com
首页 > 数据库 > 详细

sql语句执行顺序

时间:2016-05-03 00:25:54      阅读:168      评论:0      收藏:0      [点我收藏+]

标签:

(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>

 

sql语句执行顺序

标签:

原文地址:http://www.cnblogs.com/shanoon/p/5413460.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!