| Other MySQL Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| The structure of table view buyers is as follows:
+----------------+-------------+------+-----+---------+-----
-----------+
| Field | Type | Null | Key | Default | Extra |
+----------------+-------------+------+-----+---------+-----
-----------+
| user_pri_id | int(15) | | PRI | NULL | auto_increment |
| userid | varchar(10) | YES | | NULL | |
+----------------+-------------+------+-----+---------+-----
-----------+
the value of user_pri_id the last row 2345 then What will
happen in the following conditions?
Condition1: Delete all the rows and insert another row
then. What is the starting value for this auto incremented
field user_pri_id ,
Condition2: Delete the last row(having the field value
2345) and insert another row then. What is the value for
this auto incremented field user_pri_id | | 2 |
| What are CSV tables? | | 1 |
| how to find missing numbers between two order numbers;
and dates ? | | 1 |
| How can increase the performance of MySQL select query? | Span-Systems | 2 |
| I have two sql database at different PC.how can link b/w
database and database tables. | | 1 |
| What?s the difference between query_cache_type 1 and 2? | | 1 |
| What are the advantages of stored procedures, triggers,
indexes? | | 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 |
| How can we change the name of a column of a table? | | 4 |
| What are MySQL transactions? | | 1 |
| what is the difference between MyISAM and INNO DB in MySQL
with the Advantage and disadvantage | ABC | 3 |
| how many ways we can get the current date in mysql? | | 1 |
| about foregine | | 2 |
| How do you change a password for an existing user via
mysqladmin? | | 1 |
| How do you start and stop MySQL on Windows? | | 2 |
| how do i list constraints in my database by using sql
server2000? | | 1 |
| What does tee command do in MySQL? | | 1 |
| what are the main differences between MyISAM and InnoDB
table storage structures ?
what are the advantages and disadvantages in usage of these ? | Tesco | 8 |
| How do you prevent MySQL from caching a query? | | 1 |
| What is the difference between mysql_fetch_array and
mysql_fetch_object? | CTS | 2 |
| |
| For more MySQL Interview Questions Click Here |