When dragging two tables into the query builder that do not have a foreign key constraint between them, have a button that perform a BFS search on the constraints starting from both tables. If a "path" between the two tables is found within N (default 4?) hops, offer a way to load those tables...