MySQL之联合索引
摘要:以 index(a, b, c) 为例: 注意:1)例子里都是 WHERE 语句,但 ORDER BY/GROUP BY 等都会用到索引,分析与上面一样 2)MySQL会一直向右匹配,直到查询中遇到范围查询(<、>、between、like)等就停止匹配 3)具体分析用explain语句,详细参见h
阅读全文
posted @ 2017-03-03 10:57
posted @ 2017-03-03 10:57
posted @ 2016-07-04 15:49
posted @ 2016-07-01 15:18
posted @ 2016-07-01 13:59
posted @ 2016-07-01 13:49