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 / amitabha mandal
select substr(mail_id,instr(email_id,'@'),(length
(email_id,'@') - instr(email_id,'@'))+1) from table_name.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is an invalid partition table?
Does sql backup shrink transaction log?
Is it possible to Restore a Dropped Table using Rollback Command in Oracle SQL Plus ?
What is an implicit commit?
Which constraints we can use while creating database in sql?
What is a full join sql?
Compare sql & pl/sql
What does count (*) mean?
Which table is left in left join?
What is the purpose of my sql?
What is an oracle stored procedure?
What is materialized view in sql?
explain access control lists. : Sql dba
If i can use sys.check_constraints to display my constraints from my database using sql server 2005, how can i display then if i am using sql server 2000????
What is 19 null in sql?