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