To show the lastPara mostrar os últimos 30 days just rundias, use:
select
to_date(to_char(sysdate-30,'dd/mm/yyyy'), 'dd/mm/yyyy') + rownum -1 AS data
from
all_objects
where
rownum <= to_date(to_char(sysdate,'dd/mm/yyyy'),'dd/mm/yyyy') - to_date(to_char(sysdate-30,'dd/mm/yyyy'),'dd/mm/yyyy')+1;