This document discusses SQL group functions and how to summarize aggregated data from tables. It covers:
1) The main group functions - AVG, COUNT, MAX, MIN, SUM - and how to use them to aggregate numeric, character and date fields.
2) Using the GROUP BY clause to divide rows into groups and return aggregate results per group. Columns in the SELECT must be in the GROUP BY or be aggregate functions.
3) Applying the HAVING clause to restrict groups based on aggregate results, after rows are grouped and aggregate functions applied. HAVING cannot be used in the WHERE clause.