[code =sql]SELECT COUNT(temp.status),temp.is_backup FROM `RESOURCE_BASE` WHERE STATUS!=1 GROUP BY is_backup 
[/code] 
这样写不行么