THE WORLD'S LARGEST WEB DEVELOPER SITE

MS Access Max() Function

❮ MS Access Functions

Example

Find the price of the most expensive product in the "Products" table:

SELECT Max(Price) AS LargestPrice FROM Products;
Try it Yourself »

Definition and Usage

The Max() function returns the maximum value in a set of values.

Note: See also the Min() function.

Syntax

Max(expression)

Parameter Values

Parameter Description
expression Required. A numeric value (can be a field or a formula)

Technical Details

Works in: From Access 2000

❮ MS Access Functions