SQL优化的一些策略

**1、一些常见的SQL实践mysql (1)负向条件查询不能使用索引web select * from order where status!=0 and stauts!=1sql not in/not exists都不是好习惯数据库 能够优化为in查询:缓存 select * from order where status in(2,3)svg (2)前导模糊查询不能使用索引性能 select
相关文章
相关标签/搜索