r/SQL • • Jul 30 '26

Discussion Differences between counts

What is the difference between

COUNT(*)

COUNT(1)

COUNT(column_name)

8 Upvotes

23 comments sorted by

View all comments

Show parent comment

1

u/ComicOzzy sqlHippo Jul 31 '26

I apply commas at random, Shirly.

1

u/YT-3000f Jul 31 '26

Rightly so. Grammer, like the Internet, is dead.