tech on the net
Home About Us Feedback Site Map

Microsoft

Access Excel Word

Database

SQL Oracle / PLSQL SQL Server MySQL MariaDB PostgreSQL

Web Development

HTML CSS Color Picker

Language

C Language

More

ASCII Table Linux UNIX Java Clipart Joke of the Moment
Share this page:

MS Access: Avg Function

Learn how to use the Access Avg function with syntax and examples.

Description

The Microsoft Access Avg function returns the average (arithmetic mean) of a set of numeric values in a select query.

Syntax

The syntax for the Microsoft Access Avg function is:

Avg ( expression )

Parameters or Arguments

expression is a numeric value. It can be a field or a formula that evaluates to a numeric expression.

Applies To

The Avg function can be used in the following versions of Microsoft Access:

Example (in SQL/Queries)

You can use the Avg function in a query by clicking on the Totals button in the toolbar (This is the button with the summation symbol). The Avg function is used in conjunction with the Group By clause.

Microsoft Access

This query would return the average UnitPrice by ProductName.