mysql 查询语句执行顺序

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

(8)SELECT (9) DISTINCT

(1) FROM

(3)JOIN

(2) ON

(4) WHERE

(5) GROUP BY

(6) WITH {CUBE|ROLLUP}

(7) HAVING

(10)ORDER BY

(11)LIMIT

注意:每个操作都会产生一张虚表,该虚表作为一个处理得输入。这些虚表对用户事透明得

 

转载于:https://my.oschina.net/kuchawyz/blog/3052343

你可能感兴趣的:(mysql 查询语句执行顺序)