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...

Fname Lname City Pin
ramesh kumar salem 365241

Query to generate a code having the firstletter of
Fname,Lname & 3letter of city Last 3letter of pin,all in
capital letters

Answer Posted / mdeva

select ucase(mid(Fname,1,1)) as
FirstName,ucase(mid(Lname,1,1)) as
LastName,ucase(mid(City,3,1)) as Cty,ucase(mid(Pin,-3))as
PinCode from tablename

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 'mysql' command line options?

1001


Why do you think it is advised to not to use guid and character columns as clustered index arrays?

1130


How to display nth highest salary from a table in a mysql query?

1000


How can I see all mysql databases?

903


What is difference mysql and mysqli?

972


What is mysql and why it is used?

1094


How do I start and stop mysql server?

995


Which statement is used in a select query for partial matching?

1198


How to create a new table by selecting rows from another table in mysql?

998


What is mysql sleep process?

1040


How to decrement dates by 1 in mysql?

1018


If you are assigned a task, to find the information of procedures. What are the basic commands that you will use to do so?

964


Why is it called mysql?

922


What is mysql aggregate functions? Explain

1102


Can mongodb replace mysql?

942