Returns the minimum expression value found in each group of rows.
MIN( expression | DISTINCT expression )
expression The expression for which the minimum value is to be calculated. This is commonly a column name.
DISTINCT expression Returns the same as MIN( expression ), and is included for completeness.
Rows where expression is NULL are ignored. Returns NULL for a group containing no rows.
SQL/2003 Core feature.
The following statement returns the value 24903.000, representing the minimum salary in the Employees table.
SELECT MIN( Salary ) FROM Employees; |
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |