Min
suggest changeFind the smallest value of column:
select min(age) from employee;
The example returns the smallest non-NULL value of age. If every value is NULL, the result is NULL.
Syntax:
SELECT MIN(column_name) FROM table_name;
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents