判断是否存在数据 select count(*) from (select 1 from t_test1 where id > 1 LIMIT 1) t 转载于:https://my.oschina.net/u/3777103/blog/3069353