标签: mysql
如何使用SELECT找到无效的电子邮件地址?
答案 0 :(得分:14)
SELECT email FROM TABLE WHERE email NOT LIKE '%_@_%._%' AND email NOT LIKE '%list of invalid char%';
答案 1 :(得分:-1)
SELECT email FROM tablename WHERE email NOT REGEXP '(^[a-z0-9]+)\@(.*)'