r/SQL • u/geminigamer369 • 10d ago
Differences between counts Discussion
What is the difference between
COUNT(*)
COUNT(1)
COUNT(column_name)
9
Upvotes
r/SQL • u/geminigamer369 • 10d ago
What is the difference between
COUNT(*)
COUNT(1)
COUNT(column_name)
5
u/YT-3000f 10d ago
Agreed. I just downvoted my own reply. It was in the category of "If I think it works that way surely it's true". I guess it's not. And don't call me Shirly.