| United States-English |
|
|
|
![]() |
ALLBASE/SQL Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 8 ExpressionsAggregate Functions |
|
Aggregate functions specify a value computed using data described in an argument. The argument, enclosed in parentheses, is an expression. The value of the expression is computed using each row that satisfies a SELECT statement. Aggregate functions can be specified in the select list and the HAVING clause. Refer to the explanation of the SELECT statement for more details. { AVG ({ Expression [ ALL DISTINCT ] ColumnName }) MAX ({ Expression [ ALL DISTINCT ] ColumnName }) MIN ({ Expression [ ALL DISTINCT ] ColumnName }) SUM ({ Expression [ ALL DISTINCT ] ColumnName }) COUNT ({ * [ ALL DISTINCT ] ColumnName }) }
|
|||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||