I was making some tests, and it was a surprise when i was querying a table, and the query SELECT * FROM table WHERE email=0 returned all rows from the table.
SELECT * FROM table WHERE email=0
if you want to get all record in which email column should not be blank or empty, then you can use
SELECT * FROM table WHERE email IS NOT NULL;