摘要:
A、B两列均存在索引,但 select * from T where A=B;不会走索引,因为全表扫描更快。 存在null值,索引列可空,则不会给其建索引,索引值少于表count值,执行计划会去扫全表,比如 select * from T where id is not null; 反查询,索引定位 阅读全文
posted @ 2021-04-05 23:55
smallzhen
阅读(98)
评论(0)
推荐(0)
浙公网安备 33010602011771号