1
Answer

SQL Query Optimization: Choosing Between COUNT(*) and COUNT(1)

Photo of Aradhana Tripathi

Aradhana Tripathi

Jul 14
190
1

I recently got into a discussion about whether it's better to use COUNT(*) or COUNT(1) in SQL queries. Does it make any difference in terms of performance?

Answers (1)