auto

Works with summary expressions to define the scope to be adjusted based on the grouping columns in the query. The scope is context-dependent.

Syntax

aggregate_function ( expression AUTO )