There is a search box I've been testing using a blind sql injection technique.
When I want to get posts which include 'A', I just submit letter A in the search box. However, to get all the posts, I wanted to make the WHERE LIKE clause true.
So I post A%'='A to make the value true. I expected SELECT * FROM list WHERE title LIKE 'A%'='A%';. But it shows all the posts except the ones that include letter 'A'. Likewise, when I post A%'! =' A, I get the results that include 'A'.
I don't know why this happens.