select count(*) 查询知足条件的记录的条数

查询的只知足一种条件的记录数量:函数 select count(*) from T0010 t where t.d0150='20' ;spa     查询知足两种条件的记录数量:select select sum(case when t.d0150='20' then 1 else 0 end) as slaughter, sum(case when t.d0150='30' then 0 el
相关文章
相关标签/搜索