I have Hierarchical data.
select lpad(' ', 4*(level-1))||NAME
from from_sql
where where_sql
CONNECT BY PRIOR id = parent_id
START WITH parent_id is null
- work, all right.
out:
la1
la2
la3
la4
la5
la6
la7
la8
la9
i need:
1 la1
1.1 la2
1.2 la3
1.2.1 la4
1.3 la5
1.3.1 la6
1.3.2 la7
2 la8
2.1 la9
how to do numeration with point?
Try this:
here is a fiddle