Microsoft Access 2007 tutorial: Aggregate Functions |
||||||||||||||
Aggregate FunctionsVII. Aggregate functionsAggregate functions are built-in functions that is used to work with numeric, text and date/time, and currency data. The aggregate functions include sum, average, count, maximum, minimum, standard deviation, and variance. VII.1. AVGThe AVG function is used to calculate average of field or column that has a number data type, date/time, or currency data type. For example, find average of unit price column of TblProduct table.
VII.2. MAXThe maximum value of the field or column (number, date/time, or currency data type )can be calculated by the MAX function. For instance, find the highest price of TblProduct table.![]() VII.3. MINThe minimum value of the field or column (number, date/time, or currency data type )can be calculated by the MIN function. For instance, find the cheapest price of TblProduct table.![]() VII.4. COUNTThe COUNT function use to count row or record in the table. For example, count products that have quantity greater than twenty.![]() VII.5. SUMThe SUM function is used to calculate total value of field or column of a table. For instance, calculate the total amount of quantity of products starting with letter A.
|
||||||||||||||
|
||||||||||||||