fiogf49gjkf0d Here you go:
select j1.fromtable fromtable1, j1.fromfield fromfield1, j1.totable totable1, j1.tofield tofield1 FROM sysdba.joindata j1, sysdba.joindata j2 WHERE j1.fromtable = j2.totable AND j1.totable = j2.fromtable AND j1.fromfield = j2.tofield AND j1.tofield = j2.fromfield |