oracle 时间差 做查询条件

查询时间差<10秒的记录:

select * from myTable where (t2- t1)*24*60*60<10

t1,t2只能是date类型。

如果是

 

http://www.linuxidc.com/Linux/2011-10/45480.htm

posted on 2011-11-30 22:49  子非鱼焉  阅读(244)  评论(0编辑  收藏  举报

导航