或許你不知道的10條SQL技巧

1、一些常見的SQL實踐mysql (1)負向條件查詢不能使用索引程序員 select * from order where status!=0 and stauts!=1sql not in/not exists都不是好習慣數據庫 能夠優化爲in查詢:緩存 select * from order where status in(2,3)架構   (2)前導模糊查詢不能使用索引異步 select
相關文章
相關標籤/搜索