select count(id) from student where ISNULL(pwd,'')=''
这样 无论pwd=''或者pwd为null都可以查到 
查询非空字段,只需:ISNULL(pwd,'')!=''

 

相关文章:

  • 2022-02-12
  • 2022-12-23
  • 2022-12-23
  • 2021-08-05
  • 2022-12-23
  • 2022-02-09
  • 2021-06-25
猜你喜欢
  • 2022-12-23
  • 2021-06-06
  • 2022-01-13
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
  • 2022-12-23
相关资源
相似解决方案