用ASP汇总数据库中符合条件的记录数现有一个数据库属性字段。字段中只有1、2两个数字 现在需要汇总数据库中符合值为1的记录数。 请各位给出较为详细的代码!谢谢了[解决办法]select count(*) from table where ziduan=1[解决办法]select count(*) as blname from table where ziduan=1 response.write trim(rs( "blname "))