oracle两个日期类型字段,做比较,谁大取谁。

如题所述

select case when date1-date2>0 then date1 else date2 end from table
温馨提示:答案为网友推荐,仅供参考