Some of the replies are incorrect.
The aggregate: directive does not support the ability to specify within group specification.
The aggregate() expression is for the query engine to attempt to determine an appropriate aggregation as might be required ...
The aggregate: directive does not support the ability to specify within group specification.
The aggregate() expression is for the query engine to attempt to determine an appropriate aggregation as might be required ...