Skip to content

Instantly share code, notes, and snippets.

@itomg
Created September 30, 2013 02:44
Show Gist options
  • Save itomg/6758796 to your computer and use it in GitHub Desktop.
Save itomg/6758796 to your computer and use it in GitHub Desktop.
select substring_index(substring(field_name, instr(field_name, "@")+1), " ", 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment