This is blowing my mind.
All I want to do is basic string comparison on a long varchar
field.
I have a table of approx. 12M records.
If I query for MY_FIELD='a string'
, I get a count of 25947, which seems about right.
If I query for MY_FIELD!='a string'
, I get a count of 989.
Shouldn't these 2 counts add up to the full table size of 12M?