In Oracle11g, the following OLAP DML statements have been added or changed to offer more support for grouping ids:
A new GROUPINGID function
New ROLLUP and GROUPSET keywords in the GROUPINGID command
New $GID_DEPTH, $GID_LIST, and $GID_TYPE system properties