oracle 时间差 做查询条件

来源:互联网 发布:远程控制桌面软件 编辑:程序博客网 时间:2024/05/24 04:47

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

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

t1,t2只能是date类型。

如果是

 

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

原创粉丝点击