for any

Works with summary expressions to define the scope to be adjusted based on a subset of the grouping columns in the query. Equivalent to the for clause.

Syntax

aggregate_function ( expression for ANY expression { , expression } )