I am having an issue with a left join where I will not get any results back, however, if I change the columns I am selecting I do get results back.
select a, b
from table_1, table_2, table_3
where (table_3(+) = table_2
and table_2 = table_1)
and (a = 'a'
and b = 'b'
and c = 'c')
no rows selected
select a, b, c
from table_1, table_2, table_3
where (table_3(+) = table_2
and table_2 = table_1)
and (a = 'a'
and b = 'b'
and c = 'c')
a b c
- - -
a b c
a b c
Does anyone understand this? Even if I do a count, I get 0 rows.
select a, b
from table_1, table_2, table_3
where (table_3(+) = table_2
and table_2 = table_1)
and (a = 'a'
and b = 'b'
and c = 'c')
no rows selected
select a, b, c
from table_1, table_2, table_3
where (table_3(+) = table_2
and table_2 = table_1)
and (a = 'a'
and b = 'b'
and c = 'c')
a b c
- - -
a b c
a b c
Does anyone understand this? Even if I do a count, I get 0 rows.