Hello,
Can you please help me understand this out join?
Here are 3 tables with columns:
t1(key1, c2, c3, exp_date)--this table has 2M rows
t2(key2, c2,c3,exp_date)--this table has 0.8M rows
t3(key1,key2, c3, c4, exp_date) -- (key1,key2) is primary key, has a little less row than t2
an query looks like this:
select t1.* from t1,t2,t3
where t2.key2(+) = NVL(t3.key2, 999999999) AND
t3.exp_date(+) is null;
Can you help me understand:
1 what does this do?
where t2.key2(+) = NVL(t3.key2, 999999999)
2 this line:
t3.exp_date(+) is null
when I take (+) away, I get different rownum.
what does (+) here do?
Thank you
Can you please help me understand this out join?
Here are 3 tables with columns:
t1(key1, c2, c3, exp_date)--this table has 2M rows
t2(key2, c2,c3,exp_date)--this table has 0.8M rows
t3(key1,key2, c3, c4, exp_date) -- (key1,key2) is primary key, has a little less row than t2
an query looks like this:
select t1.* from t1,t2,t3
where t2.key2(+) = NVL(t3.key2, 999999999) AND
t3.exp_date(+) is null;
Can you help me understand:
1 what does this do?
where t2.key2(+) = NVL(t3.key2, 999999999)
2 this line:
t3.exp_date(+) is null
when I take (+) away, I get different rownum.
what does (+) here do?
Thank you