Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is pl sql quora?

1176


What is sql architecture?

1057


What is the purpose of normalization?

1048


Why use truncate instead of delete?

1019


what is a unique key ? : Sql dba

1098


What does select * from mean in sql?

3247


What is the use of sqlerrd 3?

944


What is right join sql?

969


What is the difference between explicit and implicit cursors in oracle?

1070


How to select 10 records from a table?

1163


what is a trigger in mysql? Define different types of trigger. : Sql dba

1073


What are the advantages of pl sql over sql?

1028


Can we write ddl statements in functions?

1121


Can we insert in view in sql?

1065


Is sql difficult?

1162