SQL查询数据是否存在时,优化

select  count(*) from table where id>10

select 1 from table where id>10 limit 1

posted on 2022-11-21 08:21  隔壁老王(加速版)  阅读(31)  评论(0)    收藏  举报