如: select id from t where name like ‘%c%‘;
如: select id from t where num=@num ; 改为: select id from t with(index(索引名)) where num=@num ;
如: select id from t where num/2=100; 可以改为: select id from t where num=100*2;
原文:https://www.cnblogs.com/luo-jian/p/13570612.html