1
我有几个Gmail邮箱地址,我的表的MySQL从电子邮件中删除点地址
[email protected]
[email protected]
[email protected]
[email protected]
我需要更换地址的Gmail包含符号“” 获得:
[email protected]
[email protected]
[email protected]
[email protected]
我的查询不起作用
UPDATE voters set email
replace(substring(email, 1, LOCATE('@', email) -1), '.', '')
WHERE email REGEXP '@googlemail.com|@gmail.com'
请大家帮忙,THX!