| email |
+---------------------------------+
| [email protected] |
| [email protected] [email protected] |
+---------------------------------+
I tried the below and it is working for the 1st row
substr(email,instr(email,'@',1,1))
But for 2nd row on a same cell we have 2 domain id. Now, how to retrieve the output as below
gmail.com
gmail.com
yahoo.com