select count(*) from project   返回表所有行总数

select count(name) from project    返回表所有行中name不为null的行总数

 

如果name确保不为null,上面两条查询语句的结果是一样的

 

所以

select count(name) from project where name is null

是无效的

相关文章:

  • 2021-07-25
  • 2021-10-12
  • 2022-12-23
  • 2021-10-04
猜你喜欢
  • 2021-08-09
  • 2022-12-23
  • 2021-12-15
  • 2021-12-18
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案