SQL Aggregate Functions

Applies To
Access for Microsoft 365 Access 2024 Access 2021 Access 2019 Access 2016

Using the SQL aggregate functions in Access, you can determine various statistics on sets of values. You can use these functions in a query and aggregate expressions in the SQL property of a QueryDef object or when creating a Recordset object based on an SQL query.

Avg Function

Count Function

First, Last Functions

Min, Max Functions

StDev, StDevP Functions

Sum Function

Var, VarP Functions

Calculating Fields in SQL Functions