G
Guest
I have a query as shown below that is getting the wrong match. The Lead ID
from Combine (which is a query itself) is getting a wrong match from the Lead
ID from Join LeadSP (which is a table). And the wrong answer is consistent,
so that if Combine.[Lead ID] is a 3 then [Join LeadSP].[Lead ID] is always a
14....except it's supposed to be a 3. I've seen this happen before and I
don't understand why it's happening. So what am I doing wrong? HELP!!
SELECT Combine.KPA, Combine.[Lead ID], [Join LeadSP].[Lead ID], [Join
LeadSP].[SP ID]
FROM Combine LEFT JOIN [Join LeadSP] ON Combine.[Lead ID] = [Join
LeadSP].[Lead ID];
from Combine (which is a query itself) is getting a wrong match from the Lead
ID from Join LeadSP (which is a table). And the wrong answer is consistent,
so that if Combine.[Lead ID] is a 3 then [Join LeadSP].[Lead ID] is always a
14....except it's supposed to be a 3. I've seen this happen before and I
don't understand why it's happening. So what am I doing wrong? HELP!!
SELECT Combine.KPA, Combine.[Lead ID], [Join LeadSP].[Lead ID], [Join
LeadSP].[SP ID]
FROM Combine LEFT JOIN [Join LeadSP] ON Combine.[Lead ID] = [Join
LeadSP].[Lead ID];