DB查询语句的编写和执行顺序

编写顺序:select,distinct,from,join,on,where,group by,having ,order by , limit

执行顺序: from,on,join,where,group by,having,select,distinct,order by, limit

 

参考:http://www.jellythink.com/archives/924

posted @ 2017-06-15 10:29  雪浪snowWave  阅读(168)  评论(0编辑  收藏  举报