Doubt in Binary Tree Mysql [duplicate]

0

Considering the tree below, I have a question.

            A
      B           c
   D    E       F   G
 H  I             J   K

So, I was wondering if there is any way to do a SELECT, where I bring all the IDS that are to the left of A. Because getting left the right side follows the same logic.

The program enrolls people. So person A put 'B' and 'C' in their network. B to the left C to the right. Then B put D and E, and there goes the tree. My question is, can I do a Select where I search all from the left side of A.

I thank you for your attention right away, Eric Augusto.

    
asked by anonymous 29.12.2016 / 12:08

0 answers