create table findBreak(staD,endD,Val) as
select date '2009-06-22',date '2009-06-25',9 from dual union all
select date '2009-06-25',date '2009-06-26',9 from dual union all
select date '2009-06-27',date '2009-06-28',5 from dual union all
select date '2009-06-28',date '2009-06-29',9 from dual union all
select date '2009-10-10',date '2009-10-11',1 from dual union all
select date '2009-10-11',date '2009-10-12',1 from dual union all
select date '2009-10-12',date '2009-10-13',1 from dual union all
select date '2009-10-13',date '2009-10-14',2 from dual union all
select date '2009-10-14',date '2009-10-15',2 from dual union all
select date '2009-10-15',date '2009-10-16',2 from dual union all
select date '2009-10-16',date '2009-10-17',1 from dual union all
select date '2009-10-17',date '2009-10-18',1 from dual union all
select date '2009-10-18',date '2009-10-19',3 from dual union all
select date '2009-10-19',date '2009-10-20',3 from dual union all
select date '2009-11-20',date '2009-11-21',1 from dual union all
select date '2009-11-21',date '2009-11-22',1 from dual union all
select date '2009-11-22',date '2009-11-23',5 from dual union all
select date '2009-11-23',date '2009-11-24',5 from dual union all
select date '2009-11-24',date '2009-11-25',5 from dual;