select greatest( 1, 5, 10 )
SQL> SQL> select greatest( 1, 5, 10 ) 2 from dual; GREATEST(1,5,10) ---------------- 10 1 row selected. SQL> SQL> --