希腊债务危机的原因:求SQL语句-返回符合条件的记录数
来源:百度文库 编辑:杭州交通信息网 时间:2024/06/03 14:13:18
最后给出SQL语言,我用的技术是ASP.NET,我会把他弄到数据层中
select count(*) as totle from table where 条件
totle 就是符合条件的记录数
记录数
如果用recordset
用其recordcount属性就POK了
select count(*)
from 表
where 条件
在代码中利用循环就可以了
用count()函数