portableSql

Min Portable SQL Function

Syntax

Min as A (Expression as A)

Arguments

ExpressionAny Type

A field or expression.

Returns

resultAny Type

Returns the minimum value of the expression over all rows that satisfy the expression.

Description

Compute the minimum value of the expression over all rows that satisfy the expression.

Discussion

The Min function computes the minimum value of the expression over all rows that satisfy the expression.

Min() function executed on the Northwind Access database
SELECT Min(Order_Details.Quantity) AS MinQuantity FROM [Order Details] Order_Details
=1