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

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

版权声明:本文为booooooooooooooooooo原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。