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

what is recursive stored procedure? : Sql dba

1026


What are the string functions in sql?

1017


What is a mutating table and a constraining table?

1175


What is the maximum rows in csv?

975


What is a trigger word?

1073


name 3 ways to get an accurate count of the number of records in a table? : Sql dba

1116


What is sql partition function?

1286


Write the command to remove all players named sachin from the players table.

1223


what is self join and what is the requirement of self join? : Sql dba

1185


Is drop table faster than truncate?

1045


What is prepared statement in sql?

1098


Can we create clustered index without primary key?

996


define join and explain different type of joins? : Sql dba

995


tell me about various levels of constraint. : Sql dba

1071


What is dynamic query?

1027