I am not able to understand how to achieve a hierarchy accessing 3 tables. That is, I have Table1, Table2 and Table3 where:
Table1 (ID_table1, name_c, size)
Table2 (ID_table2, ID_table1, name_l, size)
Table3 (ID_table3, ID_table1, ID_table2, name_d, size)
How do I make a hierarchy with all this information? I've looked for it but only found solutions with information into a single table.
*EDIT: I edited the information in the tables because they do not express myself
Best Answer
I've never tried anything like that, but what if you UNION your three tables into one, and then do a "one-table hierarchical query" on the result of that?
(I'm assuming that the relationship is
Table1 PARENT OF Table2 PARENT OF Table3
).