select trunc((:FromDate)+1)-rn as date_Val
from ( select rownum rn
from dual
connect by level <= ((:FromDate)-(:todate))+1)
order by trunc(:FromDate)-rn
I want to join this column with other tables. When I write in Sub Query return more than one row error show