最大值

找到列的最大值:

select max(age) from employee;

上面的例子將返回 employee 表的 age 列的最大值。

句法:

SELECT MAX(column_name) FROM table_name;