MIN

Returns the minimum value of an expression.

Syntax

Restrictions

The following restrictions apply when you use the MIN function in the SELECT command:

  • The function does not support the DISTINCT or ALL keywords.

  • The function does not support the OVER clause.

Example

This example shows the minimum first_incident value for all of the recorded problems.

select min(first_incident) from problem;