:表示包含正数或者负数.或者0 即表示,数字的字段! select * from 表名 where isnull(字段名,'')<>'' 同时排除空值和null的情况 select coopmedcode,patientname,sum(freefee) as total from (select coopmedcode,patientname,freefee from dbo.o_CbZyBxDj union all select coopmedcode,patientname,freefe…