oracle查询十分钟之前的数据

select * from TABLE as of timestamp sysdate - 10/1440 t WHERE ColName='1111';

TABLE:表名

WHERE:查询子句

sysdate - 10/1440:  sysdate:当前日期

           sysdate - 10:当前日期的前10天

           1440:一天1440分钟

           10/1440:前十分钟

猜你喜欢

转载自www.cnblogs.com/shenbing/p/12084060.html