My table name students
uid | name
-----+-------
10 | John
11 | Smith
**Data types : **
uid int(11)
name varchar(256)
My query :
SELECT name FROM students WHERE uid = '10'
Returns : John
My 2nd query :
SELECT name FROM students WHERE uid = '10someChar'
Returns : John
Why the second query returns John ?
studentscreate table students(...)....