SELECT * FROM table WHERE to_char(日期,'hh24miss')='180000' and to_char(日期,'yyyymmdd') between to_char(sysdate-10,'yyyymmdd')
and to_char(sysdate,'yyyymmdd');
SELECT * FROM table WHERE to_char(日期,'hh24miss')='180000' and to_char(日期,'yyyymmdd') between to_char(sysdate-10,'yyyymmdd')
and to_char(sysdate,'yyyymmdd');
select trunc(sysdate,'dd')-10+level||' '||to_char(dt_column,'hh24mi'),other_column
from tb
connect by level<=10
where to_char(dt_column,'hh24mi')='1803'