select 1 from table 如果该表有记录,则得到常量1,有多少条记录就得到多少条1
select 1 from table where status=-1 limit 1 有这种状态的记录返回1 。如果没有这种状态的记录返回空