mail-id table contains two columns(email_id,userid)
it contains different types of mail-ids,and no of users.
here username length is differ na,(ex-
tamil@yahoo.com,joshua@hotmail.com like)
now i want to fetch the email-ids only starting from '@'
(ex-@gmail.com,@yahoo.com,@hotmail.com
Answer Posted / raji_4u
select substr(mail_id,instr(mail_id,'@',1)) from table_name
This works fine.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
How can we implement rollback or commit statement in a trigger?
Which normal form is best?
explain mysql aggregate functions. : Sql dba
How do I run a sql query?
What does the argument [or replace] do?
Is sql open source?
Does sql backup shrink transaction log?
Is sql better than access?
Can you have a foreign key without a primary key?
What is the usage of nvl function?
what are date and time functions in mysql? : Sql dba
What are the different sql languages?
What is varchar used for?
Explain the structure of pl/sql in brief.
What is error ora-01000: maximum open cursors exceeded