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 / mail2sentha



select email_id,user_id,substr(email_id,instr
(email_id,'@'),length(email_id)) from mail_id;

i think its correct?

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the usage of the distinct keyword?

1169


What is normalisation in sql?

1005


The select into statement is most often used to create backup copies of tables or for archiving records?

1002


What is difference between procedure and trigger?

919


What is the use of sqldataadapter?

911


What is snowflake sql?

1012


Explain alias in sql?

997


How do I find duplicates in a single column in sql?

954


What is hibernate and its relation to sql?

1068


what is 'mysqlimport'? : Sql dba

977


What is the difference between inner join and natural join?

956


How to display Row Number with Records in Oracle SQL Plus?

993


What are the different types of triggers?

1056


how can you create an empty table from an existing table? : Sql dba

1080


What is pl sql collection?

921