| Other MySQL Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What?s the default port for MySQL Server? | Yahoo | 2 |
| SQL:
1. Write a queryto retrieve the author who was
published a book at the youngest age?
2. write a query to retrieve the no. of books
published a each year in various languages?
3. write a query to retrieve no. of books published by
them only those authors who have published more than 1 book?
4. write a query to retrieve who has not published any
books during the year 2006?
5. write a query to retrieve the authors who has
published any books during the birth date write this query
in 2 ways 1)joins 2)sub query
6. write a query to retrieve all the books which was
published during jan 2007 & title containing India or
published in the language hindi?
1. table name is liberary managemnt and two column is
there one is authors and another one is books .
2.four fields will comes under authours like nationality,
birthdate ,first-language,second-language
3.four fields will comes under books like
authour,title ,language,publish date to write query using
this details | Covansys | 3 |
| Explain MySQL optimization? | | 1 |
| how to display only 4 records from a table based on a
condition
for ex
i have a table called products
in that nid,prodname are fields
i want to display only any 4 records of perticular product
plz tell me | | 4 |
| how to delete duplicate rows in sql server 2005? | Reliance | 1 |
| How many ways we can we find the current date using MySQL? | | 1 |
| If we create a column with data type VARCHAR(3), what would
we expect to see in MySQL table? | | 1 |
| What is the difference between char and varchar data types? | | 3 |
| what is JOIN? Give example & types of join? | iMedia | 8 |
| Explain federated tables? | Tech-Mahindra | 2 |
| Explain Normalization concept? | Inuva | 1 |
| What are CSV tables? | | 1 |
| How can we find the number of rows in a table using MySQL? | | 1 |
| What is SERIAL data type in MySQL? | | 2 |
| How do you convert to a different table type? | | 1 |
| Explain MySQL locks? | | 1 |
| SELECT country,city
FROM customers
GROUP BY country
ORDER BY city DESC
| HCL | 3 |
| if we want to load data from a text file into a mysql table,
but the columns in table are 1st: code(int) and 2nd:
city(varchar), but in text file the format is 1st cityname
and then code separeted by delimeters. how to load? | | 2 |
| Explain the difference between MyISAM Static and MyISAM
Dynamic? | | 1 |
| What does myisamchk do? | | 1 |
| |
| For more MySQL Interview Questions Click Here |