MIN (value_expression) - Analytics Database - Teradata Vantage

SQL Data Definition Language Syntax and Examples

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-10-04
dita:mapPath
jco1628111346878.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
mdr1472255012272
lifecycle
latest
Product Category
Teradata Vantage™

Use the MIN aggregate function to compute the minimum value in the column or column expression, specified by value_expression. MIN is valid for character data as well as numeric data. For a character expression, MIN returns the lowest sort order.

Each aggregate join index must be created with a COUNT(*) or COUNT(value_expression). If you do not specify such an expression, Vantage adds a COUNT(*) by default.

You cannot specify a MIN function in the definition of a column-partitioned join index.

For more information about the MIN aggregate function, see Teradata Vantage™ - SQL Functions, Expressions, and Predicates, B035-1145.