March 2001
Intermediate to advanced
640 pages
14h 9m
English
Now that you have learned to combine and manipulate columns to change data, you are ready for the next major step in the data retrieval process. Today you will learn how to use the aggregate functions to display a set of information that describes a group of rows. The topics we will discuss are
Using the aggregate functions: SUM(), AVG(), MIN(), MAX(), COUNT(), and COUNT_BIG
Understanding how nulls affect aggregate functions
Finding subtotals (and subaverages and so forth) with GROUP BY
Using HAVING to select from aggregate result sets
Displaying summary values with ROLLUP and CUBE
Using CASE to build a pivot table
Read now
Unlock full access