两日期相减得到天数

select to_date(trunc(sysdate)) - to_date(trunc(create_time))   from table_201410;
原文地址:https://www.cnblogs.com/yangpeng-jingjing/p/6806206.html