Book Contents

Book Index

Next Topic

Home

Aggregate Functions

Aggregate functions summarize data over groups of rows from a query result set. The groups are specified using the GROUP BY clause. They are allowed only in the select list and in the HAVING and ORDER BY clauses of a SELECT statement (as described in Aggregate Expressions).

Notes

In This Section

AVG

COUNT

COUNT(*)

MAX

MIN

STDDEV

STDDEV_POP

STDDEV_SAMP

SUM

SUM_FLOAT

VAR_POP

VAR_SAMP

VARIANCE