NathanSavidge
Registered User.
- Local time
- Today, 10:29
- Joined
- Apr 19, 2010
- Messages
- 12
Hi,
Does anyone know a good place to look for SQL/Table structure to set up a tiered organisation structure. My table is as follows Team_ID, Sub_Team_Parent
So with
1 0
2 1
3 2
4 0
5 1
I would like to see (thrown 5 in there as almost there, but this is where it fails with entries like team 5) using sub queries
1
<TAB><TAB>2
<TAB><TAB><TAB><TAB>3
<TAB><TAB>5
4
Thanks
Does anyone know a good place to look for SQL/Table structure to set up a tiered organisation structure. My table is as follows Team_ID, Sub_Team_Parent
So with
1 0
2 1
3 2
4 0
5 1
I would like to see (thrown 5 in there as almost there, but this is where it fails with entries like team 5) using sub queries
1
<TAB><TAB>2
<TAB><TAB><TAB><TAB>3
<TAB><TAB>5
4
Thanks