查询一小时 select concat(to_char(sysdate,'yyyy-mm-dd ')||(to_char(sysdate,'hh24')-1),':00:00') start_time,concat(to_char(sysdate,'yyyy-mm-dd hh24'),':00:00') end_time from dual 结果: 查询前一天 select to_char(sysdate-1,'yyyy-mm-dd ')||'00:00:00' start_time,to_ch