If the database row is like this: country = 'usa' and i query "select * from data where country = 'usa '" it also returns this row. So its not an exact match.
Why MySQL does this? And in what other cases it will also return TRUE when its not really true?
The trailing spaces are omitted if the column is of type
charorvarchar; usinglike 'usa 'resolves the issue