Oracle 有没有求最大值的函数

2025-03-22 14:41:25
推荐回答(1个)
回答1:

oracle中查询最大值用max函数。
如emp表中有如下数据:

现要查询sal的最大值,用如下语句:

select max(sal) from emp;