Posted By

Ez3k on 06/15/11


Tagged

sql


Versions (?)

Selecting domain from email


 / Published in: MySQL
 

  1. SELECT email, SUBSTRING_INDEX(email, '@', -1) AS domain FROM mytable

Report this snippet  

You need to login to post a comment.