in mysql:
select 'a' = 'a ';
return 1
You're not the first to find this frustrating. In this case, use LIKE for literal string comparison:
LIKE
SELECT 'a' LIKE 'a '; //returns 0
2.1m questions
2.1m answers
60 comments
57.0k users