I searched through the forums but couldn\'t get an authoritative answer. I want to implement a nested comment structure in a way like this:
&l
There are several different ways to store heirarchical data in MySQL. Check out Bill Karwin's presentation that demonstrates four options.
You are using the adjacency list model for storing heirarchical data, but unfortunately this is the hardest model you could choose for querying subtrees.
Your options are: