To create group-wise totals for the groups specified within a GROUPBY clause
To create grouping for expressions or columns specified within a GROUPBY clause in one direction,from right to left for calculating the subtotals.
To create grouping for expressions or columns specified within a GROUPBY clause in all possible direction,which is cross-tabular report for calculating the subtotals