Guest User

Untitled

a guest
Jul 19th, 2018
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. select substring_index('somebody@somewhere.com', '@', 1);
  2.  
  3. SELECT SUBSTRING_INDEX(email, '@', 1) AS emailname FROM table;
Add Comment
Please, Sign In to add comment