create table dayTable(day1) as
select to_date('2008-09-11 23:58','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-12 03:58','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-12 08:00','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-12 09:00','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-12 09:59','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-12 10:00','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-12 10:01','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-12 10:02','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-13 00:03','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-13 09:00','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-13 09:59','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-13 10:00','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-13 10:01','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-13 10:02','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-13 23:59','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-26 00:03','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-26 09:00','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-26 09:59','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-26 10:00','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-26 10:01','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-26 10:02','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-26 23:59','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-27 00:03','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-27 09:00','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-27 09:59','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-27 10:00','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-27 10:01','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-27 10:02','yyyy-mm-dd hh24:mi') from dual union
select to_date('2008-09-27 23:59','yyyy-mm-dd hh24:mi') from dual;