Selecting domain from email


/ Published in: MySQL
Save to your folder(s)



Copy this code and paste it in your HTML
  1. SELECT email, SUBSTRING_INDEX(email, '@', -1) AS domain FROM mytable

Report this snippet


Comments


You need to login to view comments.