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

2025-12-15 20:41:47
推荐回答(2个)
回答1:

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

回答2:

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