MySQL Forums
Forum List  »  InnoDB

query to list tables according to relationship
Posted by: jonny quest
Date: June 12, 2013 09:32PM

what is the query to list all tables in a schema with relation?

for example:
schema_name
table1
id
name
table2_id
table2
id
name
table3
id
name
table2_id

so that the result arrangement is : table2, table1 then table3 or table2, table3 then table1

Options: ReplyQuote


Subject
Views
Written By
Posted
query to list tables according to relationship
1140
June 12, 2013 09:32PM


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.