if exists (select 1 from [table]) select isnull(字段,0) from [table] else select 0
select case when 字段 is null or rtrim(ltrim(字段))='' then 0 else 字段 end from [table]
34,590
社区成员
254,589
社区内容
加载中
试试用AI创作助手写篇文章吧