摘要:        
使用 explain 索引优化(转) 原文:https://mp.weixin.qq.com/s?__biz=MzkwNjMwMTgzMQ==&mid=2247490262&idx=1&sn=a67f610afa984ecca130a54a3be453ab&source=41#wechat_redi    阅读全文
posted @ 2024-03-05 14:17
pine007
阅读(38)
评论(0)
推荐(0)
        
            
        
        
摘要:        
原文:https://mp.weixin.qq.com/s/DsUrEHdkMvsO7RvnDcKNhg 1 避免使用select * 很多时候,我们写sql语句时,为了方便,喜欢直接使用select *,一次性查出表中所有列的数据。 反例: select * from user where id=    阅读全文
posted @ 2024-03-05 13:45
pine007
阅读(35)
评论(0)
推荐(0)
        

浙公网安备 33010602011771号