Min


Overview
The min function computes the minimum value of a numeric field within a specified schema, working on the values in the documents of that field. It's utilized alongside the SELECT statement to fetch the minimum of values in the designated field across the documents within the schema.

Example
round-pushpin Selects documents from the FlatTranslate schema and determines the minimum value of Id.
SELECT
    German,
    Min(Id)
FROM
    WordList:FlatTranslate
WHERE
    English LIKE 'Cat%'
GROUP BY
    German

See Also

Related