ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Databases  >>  MySQL
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
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
 Question Submitted By :: Ramesh
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
# 1
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 ?    0 Yes 0 No
Mdeva
[Geni]
 

 
 
 
Other MySQL Interview Questions
 
  Question Asked @ Answers
 
A select query over a large table runs very slow because of the growing number of entries in that table. What different measures could be taken to improve speed?  3
How to get full name of monthname ?  3
What is ACID?  2
How can we repair a MySQL table? Infosys2
Explain advantages of MyISAM over InnoDB?  1
what is the difrence between sql and pl/sql Wipro18
What are HEAP tables in MySQL?  1
What?s the difference between PRIMARY KEY and UNIQUE in MyISAM? CSS2
how to repair a table in mysql?  1
what is the difference between MyISAM and INNO DB in MySQL with the Advantage and disadvantage ABC3
How do you change a password for an existing user via mysqladmin?  1
How many ways we can we find the current date using MySQL?  1
How do you start MySQL on Linux?  3
what is collation? how many types of installations in sql server?  3
Explain Normalization concept? Inuva1
How would you backup and restore a big MySQL database? What are the advantages of the approach which you have taken over the others?  2
How can we find the number of rows in a table using MySQL?  1
SELECT country,city FROM customers GROUP BY country ORDER BY city DESC HCL3
How do you control the max size of a HEAP table?  1
How can we know the number of days between two given dates using MySQL? Webworks2
 
For more MySQL Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com