Grouping Functions
Table 1 Grouping functionsSQL Function  | Description  | 
|---|
GROUP_ID()  | Returns an integer that uniquely identifies the combination of grouping keys.  | 
GROUPING(expression1 [, expression2]* ) | GROUPING_ID(expression1 [, expression2]* )  | Returns a bit vector for the given grouping expression.  | 
last updated: 2025-10-17 09:08 UTC - commit: dd5435ee1bba3f223c3d7e10fd765c85375eb3e2