Digital Marketing

Get the domain part of the email address

SELECT SUBSTRING(email, LOCATE('@', email) + 1) AS domain FROM contacts;

Comments

Popular posts from this blog

MySQL Sandbox with the Sakila sample database