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 is mysql primary key?

949


How to see table's field formats or description of table .

863


What is mysql cursor?

875


What is difference between inner vs self vs cross?

944


How to decrement dates by 1 in mysql?

985


Why phpmyadmin is used for mysql?

918


Is mysql case-sensitive?

871


What is mysqli procedural?

938


How large can a mysql database become?

978


How to use 'mysql' to run sql statements?

1064


What are the technical features of MySQL?

995


What is blob and clob?

930


How many rows can a mysql table hold?

991


Where the database is stored in mysql?

940


What is the datatype for password in mysql?

950