我要查的是 比如字段是2014-04-09 15:20:00,然后我要写的sql是在两个系统时间段内,查询这个字段。第一个小于系统时间5分钟,第二个是大于系统时间5分钟。在这两个时间段内查询那个字段
------解决思路----------------------
select * from t
where cdate between sysdate - 5 / 24 / 60 and sysdate + 5 / 24 /60
select * from t
where cdate between sysdate - 5 / 24 / 60 and sysdate + 5 / 24 /60