select
count(case when typeid=300 then 300 end)
from user
sql count筛选条件下的数量
最新推荐文章于 2024-09-24 15:07:56 发布
select
count(case when typeid=300 then 300 end)
from user