pjmdesigns
Technical User
Hi All,
This is a really simple "back to basics" question as the results I am getting at the moment are not in tune with results I expect.
Basically, 2 tables with an EQUAL join on LOSSID, tables may look something like:
TABLE 1
LOSSID WHATEVER
1001 a
1002 b
1003 b
TABLE 2
LOSSID CONTACT KEY
1001 <null>
1001 J. Winters
1001 <null>
1001 P. Andrews
1002 <null>
1003 P. May
1003 J. May
You get the picture!
Anyway with an EQUAL join on the above ((Table 1)EQUAL(Table 2)) by LOSSID would I be correct in expecting the following result?
LOSSID CONTACTKEY
1001 <null>
1002 <null>
1003 P. May
Unless I used a LEFT OUTER where I would then expect all records from (TABLE 1) and ALL matching records from (TABLE 2)? Is this right or have I been shown wrong in the past? That is assuming anyone actually understands what I'm going on about!
Using V8 by the way!
Much Appreciated
pjm
This is a really simple "back to basics" question as the results I am getting at the moment are not in tune with results I expect.
Basically, 2 tables with an EQUAL join on LOSSID, tables may look something like:
TABLE 1
LOSSID WHATEVER
1001 a
1002 b
1003 b
TABLE 2
LOSSID CONTACT KEY
1001 <null>
1001 J. Winters
1001 <null>
1001 P. Andrews
1002 <null>
1003 P. May
1003 J. May
You get the picture!
Anyway with an EQUAL join on the above ((Table 1)EQUAL(Table 2)) by LOSSID would I be correct in expecting the following result?
LOSSID CONTACTKEY
1001 <null>
1002 <null>
1003 P. May
Unless I used a LEFT OUTER where I would then expect all records from (TABLE 1) and ALL matching records from (TABLE 2)? Is this right or have I been shown wrong in the past? That is assuming anyone actually understands what I'm going on about!
Using V8 by the way!
Much Appreciated
pjm