用sql语句怎样求出某一个字段值为null值的记录个数? select count(字段名)from 表名where 字段名 is null 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 例:select Count(*) from EvaluatCostc where Sum_Mater_Fee is NULL 在SQL2000中已調試過了 select count(*)from theTablewhere thefield is NULL 不加where条件利用函数能不能实现? select count(字段名)from 表名where 字段名 is null 不加where条件利用函数能不能实现?不能。 select count(*) from tablename where fieldname is null UP:select cout(*) as 记录数 from yourtable where yourfield is null 若你不想用where, 你便要用select MyField, count(*) from MyTablegroup by MyField结果会是MyField Count xx <---- 为Null的个数a xxb xx DBGrid+ClientDataset 如何进行列汇总? 请教高手登陆界面选择数据库的写法?请帮我修改一下代码,急!! *.chm的帮助文件怎么加到DELPHI里去啊? 如何通过DLL获得数据集,并把该数据集传递到主程序的数据控件?急!!! 输入日期后立即返回现在的年龄,该如何做? 数据类型的大小 [求助]如何用DELPHI代码实现打开和关闭服务项~ New 我想在网页上动态查询数据库后,生成图表并在网页上显示,该如何做? 怎样安装InfoPower2000?请详细说明!谢谢! 3 怎样在线程中用Timer? Grid 问题
select Count(*) from EvaluatCostc where Sum_Mater_Fee is NULL
在SQL2000中已調試過了
from theTable
where thefield is NULL
from 表名
where 字段名 is null
select cout(*) as 记录数 from yourtable
where yourfield is null
select MyField, count(*) from MyTable
group by MyField结果会是
MyField Count
xx <---- 为Null的个数
a xx
b xx