摘要: 首先是一种比较明显的情况:select * from table where column + 1 = 2这里对column进行了列操作,加1以后,与column索引里的内容对不上,导致column不走索引,走了全表扫描。修改方式也很简单,把+1移到右边,即:select * from table ... 阅读全文
posted @ 2014-04-19 08:41 喵尾景虎 阅读(1615) 评论(0) 推荐(0) 编辑