min

This function is used to return the minimum value.

Syntax

min(col)

Parameters

Table 1 Parameter

Parameter

Mandatory

Type

Description

col

Yes

Any type except BOOLEAN

The value can be of any type except BOOLEAN.

Return Values

The return value is of the DOUBLE type.

The return type is the same as the type of col. The return rules are as follows:

  • If the value of col is NULL, the row is not involved in calculation.
  • If the value of col is of the BOOLEAN type, it cannot be used for calculation.

Example Code