1.指令 explain: 查看当前查询使用那个索引
1 explain select surname,first_name form a,b where a.id=b.id
2.如果使用的索引比较慢,或者自动匹配到慢的索引,可以强制选择特定的索引
force index(IX_SkuID)