diff --git a/docs/source/user-guide/sql/aggregate_functions.md b/docs/source/user-guide/sql/aggregate_functions.md index 427a7bf130a7..edb0e1d0c9f0 100644 --- a/docs/source/user-guide/sql/aggregate_functions.md +++ b/docs/source/user-guide/sql/aggregate_functions.md @@ -123,11 +123,9 @@ bool_or(expression) ### `count` -Returns the number of rows in the specified column. +Returns the number of non-null values in the specified column. -Count includes _null_ values in the total count. -To exclude _null_ values from the total count, include ` IS NOT NULL` -in the `WHERE` clause. +To include _null_ values in the total count, use `count(*)`. ``` count(expression)