1

for example can this query

select count(*) from table

return something different than this query:

select count(column) from table

?

4

1 回答 1

5
  • COUNT(*)计算所有行
  • COUNT(column)仅计算非 NULL
于 2012-07-19T10:34:38.080 回答