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 transaction control language (tcl)?

1140


What are the subsets of sql?

1136


How do I audit the sql sent to the server?

1012


How many types of relationship are there?

1031


Can we join more than 2 tables in sql?

1024


Is there a 64 bit version of ssms?

961


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

987


What is sqlcommand?

1032


what are the maximum number of rows that can be constructed by inserting rows directly in value list? : Transact sql

958


What are sql functions? Describe in brief different types of sql functions?

1104


What is the difference between row level and statement level trigger?

1025


What does partition by mean in sql?

967


What is output spooling in sql*plus?

1039


How would you convert date into julian date format?

1006


Is ms sql traffic encrypted?

929