Hi All
I ran following query for field comparison in Tab1 and Tab2. Needs to check what are the Col1 values missing in
Tab2
SELECT Tab1.*
FROM Tab1 LEFT JOIN Tab2 IM ON Tab1.Col1 = Tab2.Col2
WHERE Tab2.Col2 Is Null;
Here count is 16177
When I run same query with NOT NULL as follows
SELECT Tab1.*
FROM Tab1 LEFT JOIN Tab2 IM ON Tab1.Col1 = Tab2.Col2
WHERE Tab2.Col2 Is not Null;
I got count as 3190200
But total of above two should tally to Tab1 total row count (i.e. 17683 as follows)
But When I check Tables row count seperately its as follws
Tab1 17683
Tab2 1642488
What could be the issue
Cheers
Shabar