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 many types of triggers are there in pl sql?

1012


what are the non-standard sql commands supported by 'mysql'? : Sql dba

1043


How do I order columns in sql?

912


What is partition in sql query?

947


Show how functions and procedures are called in a pl/sql block.

1041


What is left join in sql?

1004


How do sql triggers work?

987


What is use of trigger?

873


what is 'mysqlshow'? : Sql dba

974


Why should I use postgresql?

971


Does sql view stored data?

898


How much ram can sql express use?

930


What are %type and %rowtype for?

1012


What is the difference between numeric and autonumber?

939


Is primary key always clustered index?

945