sql count筛选条件下的数量
select
count(case when typeid=300 then 300 end)
from user
声明:该文观点仅代表作者本人,牛骨文系教育信息发布平台,牛骨文仅提供信息存储空间服务。
select
count(case when typeid=300 then 300 end)
from user