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

select substr(mail_id,1,instr(mail_id,'@')-1) from
test_rk_mail

Regards,

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1020


What is the difference between view and stored procedure?

959


What are all the different normalizations?

1033


What are the different sql commands?

1074


what is the use of double ampersand (&&) in sql queries?

1176


Can we use view in stored procedure?

902


What is full form of rtm?

1008


How do you take the union of two tables in sql?

986


How many types of normalization are there?

966


what is sql server agent? : Sql dba

1109


What is over () in sql?

966


How do I order columns in sql?

1008


How can I see all tables in sql?

1077


How does cross join work?

960


What is mutating error?

968