title: Is there any way to find a relation between two not related tables by foreign keys?
body: <p>I use Postgres. In this case, I have table A and table D. And between them can be multiple tables B, C and etc. How to find automatically relationships? I use <a href="http://www.dbschema.com/" rel="nofollow">DbSchema</a></p>