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 / vardhan rao

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

Output:
FirstName LastName City Pincode
R K SAL 241

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the different types of normalization?

992


What is the difference between MyISAM Static and MyISAM Dynamic?

1085


How to create a table index in mysql?

1015


How do I install mysql?

953


What's new in mysql 8?

1041


How do I create a schema in mysql?

918


What are mysql queries?

964


What is RMS Migrations

2444


What is a select query?

914


How do I run mysql on a mac?

1009


List data types in mysql? Explain

969


How to dump a table from a database.

1077


How do you determine the location of mysql data directory?

980


How can you export the table as an xml file in mysql?

920


What are the benefits of mysql?

981