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

How many rows can mysql hold?

930


What is the use of mysql_fetch_array () function in php?

1002


What is the difference between myisam dynamic and myisam static in mysql?

1053


How to connect html form to mysql database using php?

989


Which datatype is used for email in mysql?

1003


What is max connection in mysql?

985


Can python connect to mysql?

1090


What is the difference between truncate and delete in mysql?

1174


How do I assign a variable in mysql?

1052


Write a query to display current date and time?

974


Write a query to fetch duplicate records from a table using mysql?

987


Is mysql relational?

957


How do I create a schema in mysql?

918


What is difference between oracle and mysql?

988


How do I find the database name in mysql?

1004