Finding integer value in varchar field in MySQL
I have a table named user
as shown below:
id || email
---------------------------------
1 || someone@foo.bar
---------------------------------
2 || 1manwithblueshirt@bar.foo
---------------------------------
Why is this:
1manwithblueshirt@bar.foo
The result of this search?
SELECT * FROM user WHERE email = 1
+3
source to share