We're trying to run an outer join between table A on both tables B and C but get the error:
ORA-01417: a table may be outer joined to at most one other table
How can we get this to work?
Query:
select a.xxx, a.yyy, b.col1, c.col1 from a, b, c
where
a.xxx = b.xxx (+) and
a.yyy = b.yyy (+) and
a.xxx = c.xxx (+) and
a.yyy = c.yyy (+)
Use proper explicit
join
syntax. I think the following is probably what you want to do:You could try:
Please refrain from using comma in the from clause and use the JOIN clause instead.
Try using this: