GROUPING_ID

functionsupportedCore SQL functions

docs.snowflake.com ↗

Aggregate functions

Describes which of a list of expressions are grouped in a row produced by a GROUP BY query. Alias for GROUPING.

Syntax

supportedpartialnot supportednot scored

GROUPING_ID( <expr1> [ , <expr2> , ... ] )

Usage notes