oracle 搜索条件是时间在每天8点到22点。

来源:互联网 发布:画人设的软件 编辑:程序博客网 时间:2024/05/15 12:40

select *


  from  table  t


 where to_char(t.query_time, 'HH24') > 8


   and to_char(t.query_time, 'HH24') < 20
1 0
原创粉丝点击