I am having a simple table users with 'userid' and 'username' fields. Please check commands as follow:
Select * from users where userid = '5'; --returns me 1 result - Right
Select * from users where userid = '5 shiv'; --returns me 1 result - Wrong
Why second query still returns me one result. What could be the problem? Is this a problem with the engine or MySQL itself?