Min

Description

Computes the minimum value of an aggregation of values. The value is returned with the same data type as the column data type.

Syntax

Min ( n )

Arguments

n is a numeric expression.

Remarks

Min is an aggregation function which can only be used in an aggregating Select statement. Null values are ignored. If there are only null values supplied in the aggregation, then a null value is returned.