select id,name,age,address from student
主键 : id + name
其它索引:age + address
现在 explain 分析, 发现 Using index,
现在存在疑问的地方是:在 age + address 索引文件怎么有 主键 的值 ? 结构是怎么保存的 ?
二次编辑提问补充:
select id,name,age,address from student
主键 : id + name
其它索引:age + address
现在 explain 分析, 发现 Using index,
现在存在疑问的地方是:在 age + address 索引文件怎么有 主键 的值 ? 结构是怎么保存的 ?
二次编辑提问补充: