随笔分类 -  数据库

摘要:1)select * from table where state!=0 and state!=1 not in/not exists这样的尽量不要出现在搜索语句中 可以改为 select * from order where state in(2,3); 2)前导模糊查询是不能够使用索引的 sel 阅读全文
posted @ 2017-08-24 12:46 静醉丶那份默念 阅读(368) 评论(0) 推荐(0)