COUNT

ExpressionWhat It CountsNulls Included?Use Case Example
COUNT(*)All rows in the result set✅ YesTotal number of rows in a table or group
COUNT(column)Only rows where column is not null❌ NoCount of meaningful values in a column
COUNT(*) is more expensive.