I have the following table structure:
So each forum post has a parent,
Have you tried Recursive Queries Using Common Table Expressions