When a grouping parameter is provided, it causes the aggregate query to compute multiple values, one per group value as defined by the grouping expression. Either of two methods can be used to pass a grouping parameter depending upon whether or not composite grouping is desired. A wide range of grouping expressions are allowed as described in the following sections.