SQL -- SELECT Recursive
Posted by: Parker Shannon
Date: August 18, 2020 02:31AM

I have two tables to manage the hierarchical structure of a corporation (does BOM as well).

tblOrganization
id
formal_name
short_name
etc . . .

tblStructure
parent_id (tblOrganization.id)
child_id (tblOrganization.id
relationship

Done this a ton in SQL Server and Oracle (even MS Access) by using:

tblOrganization ---> tblStructure <--- tblOrganization_1

I can find no equivalency in MySQL????

What does the MySQL SQL SELECT look like to retrieve that corporate structure?

Thank you . . .

Options: ReplyQuote


Subject
Written By
Posted
SQL -- SELECT Recursive
August 18, 2020 02:31AM
August 18, 2020 10:47AM
August 19, 2020 10:18AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.