I have a database with a table which looks somewhat like this :
Root | Connector
A | B
B | C
C | D
D | E
E | -
So i want to retrieve the chain for any given root till the connector is blank
For example : Chain of A means a->B->C->D->E whereas Chain of C means C->D->E
I am using mysql database.
Thanks in advance
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…