CURRENTGROUP

Returns a set of rows from the table argument of a GROUPBY expression that belong to the current row of the GROUPBY result.

Syntax

CURRENTGROUP ( )

Parameters

None

Return value

The rows in the table argument of the GROUPBY function corresponding to one group of values of the groupBy_columnName arguments.

Remarks

Example

See GROUPBY.