Introduction
COUNT(*) counts all rows, while COUNT(column) counts only rows where the column has a value. This helps you understand data completeness.
When you want to know how many rows are in a table regardless of missing data.
When you want to count only rows where a specific column has a value (not NULL).
When checking how many entries have data in a particular column.
When comparing total rows versus rows with valid data in a column.
When summarizing data completeness in reports.