From a table with column structure (parent, child) I need:
- For a particular parent I need all children.
- From the result of (1) I need the children's children too.
For example for parent=1:
parent|child parent|child parent|child
1 a a d b f
b e g