If I have two tables (A and B) that are joined on col ‘id’ and i want to get all records from A regardless of a corresponding record in B, I know I can do:
select * from A left outer join B on A.id = B.id;
Now I have 3 tables A,B,C
A is joined to B and B is joined to C.
I want all records from A irrespective of whether there is a record in B or C.
So should I write
select * from A left outer join B on A.id = B.id and (….now what do I write here)
even using old syntax, I am stuck:
select * from A,B,C where A.id = B.id(+) and B.id1 = C.id1(+)(Somehow this does not seem right)
1 Answer