## {{esql}} grouping functions [esql-group-functions] The [`STATS`](/reference/query-languages/esql/esql-commands.md#esql-stats-by) command supports these grouping functions: :::{include} lists/grouping-functions.md ::: :::{include} functions/layout/bucket.md ::: :::{include} functions/layout/categorize.md :::