select id,name,age,address from student
主键 : id + name
其它索引:age + address
现在 explain 分析, 发现 Using index,
现在存在疑问的地方是:在 age + address 索引文件怎么有 主键 的值 ? 结构是怎么保存的 ?
二次编辑提问补充:
收起
Mysql是通过普通索引找到对应的主键,然后再获取数据。聚簇索引
报告相同问题?