I have discovered that MySQL is returning odd results when searching on INT columns.
a)
SELECT *
FROM `sellers`
WHERE `seller_key` = '1'
Returns seller with the key 1.
b)
SELECT *
FROM `sellers`
WHERE `seller_key` = '1sdjhksadhak'
Returns seller with the key 1.
c)
SELECT *
FROM `sellers`
WHERE `seller_key` = '1adlksajdkj187987'
Returns seller with the key 1.
d)
SELECT *
FROM `sellers`
WHERE `seller_key` = 'adlksajdkj187987'
Does not return anything.
Why does b and c return a result? if there a way to make the searching strict?