摘要: 1、优化group by 语句 如果查询包含group by 但是用户想避免排序结果的损耗,则可以使用order by null来禁止排序Mysql > explain select * from temp group by cls order by null;2、优化嵌套查询 尽量避免使用嵌套查询,多使用链接查询。 阅读全文
posted @ 2013-07-20 17:09 hoho,SalesForce 阅读(152) 评论(0) 推荐(0) 编辑