8.3GROUP BY Clause Extensions and Materialized Views235
Chapter 8
GROUP_ID()
Figure 8.21 shows a 1 for the GROUP_ID function for each of the city
totals for both New York and Los Angeles.
8.3GROUP BY Clause Extensions and
Materialized Views
ROLLUP and CUBE SQL clauses can benefit materialized views, such that
multiple nested layers of materialized views do not have to be created for
Figure 8.19
Bit vector
concatenations and
GROUPING_ID
function results.
Figure 8.20
GROUPING and
GROUPING_ID
function results.
2368.3GROUP BY Clause Extensions and Materialized ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.