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 difference among union, minus and intersect?

992


What are variables in pl sql?

1160


What are the popular database management systems in the it industry?

995


How do I find sql profiler?

933


What is right join sql?

960


how can we know the number of days between two given dates using mysql? : Sql dba

1044


How do you drop a trigger?

984


What is sql query optimization?

1109


What are sql indexes?

993


What is the basic form of sql query?

939


What is the difference between sql and mysql?

1115


Can we rollback truncate?

997


What is the difference between having and a where in sql?

1099


In a distributed database system, can we execute two queries simultaneously?

1083


Name some usages of database trigger?

1016