SQL统计怎么排除当前比较值?

2025-12-16 18:48:21
推荐回答(2个)
回答1:

select count(*) from [fx_user] where name not in ('" + name + "')

回答2:

select count(*) from [fx_user] where name<>'" + name + "'