Mysql---索引命中
摘要:
1、假设 test_demo表中有个 复合索引 idx(sex,company,job) 1.1、最左前缀原则 explain select * from test_demo where sex='' and job ='' and company='' 结果:type:ref、key:idx ex 阅读全文
posted @ 2020-09-30 16:14 anpeiyong 阅读(354) 评论(0) 推荐(0)
浙公网安备 33010602011771号