December 2013
Intermediate to advanced
1872 pages
153h 31m
English
The CUBE and ROLLUP operators allow you to run a single query and generate multiple sets of groupings. However, the sets of groupings are fixed. For example, if you use GROUP BY ROLLUP (A, B, C), you get aggregates generated for the following groupings of nonaggregate columns:
GROUP BY A, B, C
GROUP BY A, B
GROUP BY A
A super-aggregate ...