select greatest( 'ONE', 1 )
SQL> SQL> select greatest( 'ONE', 1 ) 2 from dual; GRE --- ONE 1 row selected. SQL> SQL> --