oracle 查询前30分钟的数据

select t.create_time from T_PLAT_ORDER t where TO_CHAR(t.create_time,'yyyy-MM-dd HH24:MI:SS') >= to_char(sysdate-30/(24*60),'yyyy-MM-dd HH24:MI:SS') 

 

posted @ 2022-06-02 15:12  静候。  阅读(1169)  评论(0编辑  收藏  举报