Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> How get maximum of two columns
I have two date columns in a table, DATE1 and DATE2.
How do I get the maximum of DATE1 and DATE2 in a select statement (no PL/SQL), something like SELECT MAXIMUM(DATE1,DATE2) FROM <TABLE>?
Many thanks