How the tables are related will determine how to relate the tables. If there is one common column in all three tables which relates them, such as an SSN, then one of the three tables must contain all of the records, and be related to the other two tables in the where clause:
select * from tableA, tableB, tableC
where tableA.col=tableB.col(+) and
tableA.col = tableC.col(+);
However, if there is a relationship between tables A and B, and a different relationship between tables B and C, then:
select * from tableA, tableB, tableC
where tableA.col=tableB.col_1(+) and
tableB.col_2=tableC.col(+);
Bookmarks