Sql 查询null的判断

select isnull((select  count(*) from crm) ,0)as  Num  from table
原文地址:https://www.cnblogs.com/dullbaby/p/2872522.html