Oracle有没有求最大值的函数
SELECT MAX (1, 0, -1) FROM DUAL
报错提示
Time Start: 2015/1/12 11:45:41
select MAX(1,0,-1) from dual
*
Error at line 1
ORA-00909: 参数个数无效
Script Terminated on line 1.
Time End: 2015/1/12 11:45:51
Elapsed Time for Script Execution: 10 secs
------解决思路----------------------
SELECT greatest (1, 0, -1) FROM DUAL