Chapter 12. Advanced Group OperationsGroup operations aggregate data over multiple rows. We discussed the GROUP BY clause and basic group operations in Chapter 4. Decision support systems require more complex group operations. Data warehousing applications involve aggregation over multiple dimensions of data. To enable effective decision support, you need to summarize transaction data at various levels. We discuss advanced group operations used by decision support systems in this chapter. Oracle8i introduced several handy extensions to SQL's ability to summarize data. These include the following:
In Oracle9i, yet another function was introduced to generate summary information at a specific level: the GROUPING SETS function. |