Let's say we have a table with user comments. The first level comments contain a link to the article to which they are attached. Deeper comments do not have this design link, but they do have a link to the parent comment.
For this database structure - what would be the most efficient way to get all the comments for this article and then display it in html format? (Assume we have approximately 200 first level comments and the deepest level 20)
mysql hierarchical-data
Anton N
source share