摘要: 放弃索引而全表扫描 where进行null值判断 where中使用!= 或 < >操作符 where中对字段进行表达式操作 where中对字段进行函数操作,应将函数写在等于号右侧 like模糊查询时,%放在前面索引不起作用 where中使用or 减少使用in或not in,若是连续的可以用betwe 阅读全文
posted @ 2021-04-19 21:19 lwxx 阅读(39) 评论(0) 推荐(0)