sql语句select group by order by where一般先后顺序 转载

写的顺序:select ... from... where.... group by... having... order by..
执行顺序:from... where...group by... having.... select ... order by...

 

转载于:http://blog.csdn.net/liubo2012/article/details/8209324

posted @ 2013-07-27 08:44  aoguren  阅读(687)  评论(0编辑  收藏  举报