首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

oracle 时间差 作查询条件

2012-07-15 
oracle 时间差 做查询条件查询时间差10秒的记录:select * from myTable where (t2- t1)*24*60*6010t1,t2

oracle 时间差 做查询条件

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

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

t1,t2只能是date类型。

如果是

?

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

热点排行