|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How do I select records in the hierarchical structure, parent and child format.
Example ID PARENTID A01 A00 A02 A01 A03 A02 A05 A02 A06 A05 A07 A06 A08 A01 The output should looks like this. A01 A02 A03 A05 A06 A07 A08 |
|
#2
|
||||
|
||||
|
Is this data all in the same column? Can't you just use
SELECT id FROM your_table ?? Maybe I'm missing something? ---John Holmes... |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > Hierarchy Select |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|