tech on the net

MS Access: Min Function

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

Description

The Microsoft Access Min function returns the minimum value in a set of numeric values in a select query.

Syntax

The syntax for the Microsoft Access Min function is:

Min ( 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 Min function can be used in the following versions of Microsoft Access:

Example (in SQL/Queries)

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

Microsoft Access

This query would return the minimum UnitsInStock for each ProductName.