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

Which kind of parameters cannot have a default value in pl sql?

1123


Can we declare a column having number data type and its scale is larger than pricesionex: column_name number(10,100),column_name numbaer(10,-84)

936


Explain commit, rollback and savepoint.

982


how to show all tables with 'mysql'? : Sql dba

1093


Can there be more than one function with a similar name in a pl/sql block?

969


what is a constraint? : Sql dba

1126


Can you join a table to itself?

1108


What is an inconsistent dependency?

1032


What is Collation Sensitivity ? What are the various type ?

937


What is a subquery in sql?

1022


Explain about various levels of constraint.

921


what is a trigger in mysql? Define different types of trigger. : Sql dba

1052


What are records give examples?

991


What is a recursive join sql?

1051


What is #table in sql?

1068