“…As a result, it is essential to be able to express grouping variables in relational algebra. In this section we present an operator, called MD-join [13,[4][5][6], which generalizes the conventional notion of group-by [21]: it clearly distinguishes between the definition of the ''base values'' used to aggregate-by and the actual computation of aggregates of these. Grouping variables represent the latter.…”