Hi,
I'm trying to combine more than three tables with a left outer join. There is only one table with a one relationship to four other tables that have a many relationship to the parent table. I found this syntax:
select * from
(bdg left outer join res on bdg.bid = res.bid)
left outer join dom on bdg.rid = dom.rid ;
and am trying to apply this syntax to more than three tables by doing this:
select * from
(((bdg left outer join res on bdg.bid = res.bid)
left outer join dom on bdg.rid = dom.rid) left outer join room on bdg.bid = room.rid);
but this syntax doesn't seem to work. I'm getting this error: "An unexpected token "END-OF-STATEMENT" was found".
Is my syntax wrong or is it not possible to do a left outer join on more than three tables?
Thank you.
Heather
I'm trying to combine more than three tables with a left outer join. There is only one table with a one relationship to four other tables that have a many relationship to the parent table. I found this syntax:
select * from
(bdg left outer join res on bdg.bid = res.bid)
left outer join dom on bdg.rid = dom.rid ;
and am trying to apply this syntax to more than three tables by doing this:
select * from
(((bdg left outer join res on bdg.bid = res.bid)
left outer join dom on bdg.rid = dom.rid) left outer join room on bdg.bid = room.rid);
but this syntax doesn't seem to work. I'm getting this error: "An unexpected token "END-OF-STATEMENT" was found".
Is my syntax wrong or is it not possible to do a left outer join on more than three tables?
Thank you.
Heather