摘要: 1. explain分析法 explain {sql}; // 分析查询语句 (1) id列数字越大越先执行,如果说数字一样大,那么就从上往下依次执行(2) select_type查询类型:simple、primary、dependent subquery等(3) table表名(4) type 从 阅读全文
posted @ 2017-10-26 23:30 TT的宝藏 阅读(735) 评论(0) 推荐(0) 编辑