我有一个表结构,其中包含我想显示数据的父子数据 序列化,首先显示父名称,然后子列表如下...
我的表格结构如下
ASSOCIATION_ID ASSOCIATION_NAME PARENT_ID
-----------------------------------------------------
1 Organogram NULL
2 Dhaka 1
3 Cox Bazar 1
4 Top Limited 2
5 JHI Limited 3
6 LAM Limited 3
7 POL Limited 3
8 JHI & LAM Limited 3
9 Low Limited 2
我想显示类似的数据
dhaka
Low Limited
Cox Bazar
Top Limited
JHI Limited
LAM Limited
POL Limited
JHI & LAM Limited