mysql:
select ifnull(count(*),0)+0 as cc From dede_diyform3 where ifcheck=0
sqlserver:
select isnull(count(*),0)+0 as cc From dede_diyform3 where ifcheck=0
挑着用吧