MySQL Interview Questions
Questions Answers Views Company eMail

What are the advantages and disadvantages of MySQL?

Satyam,

3368

What is the difference between GROUP BY and ORDER BY in Sql?

Creative, Renault Nissan, Trikon Networks,

12 76292

What is the difference between char and varchar data types?

6 46936

How to load data from a text file into a table?

Sasaa,

7 14361

How can we know the number of days between two given dates using MySQL?

Base2 Infotech, Webworks,

2 7115

How can we change the name of a column of a table?

7 9740

How can we change the name and data type of a column of a table?

Google,

9 24768

What are the differences between drop a table and truncate a table?

10 23945

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?

5 13929

A company wants to store their invoices in a database. They already have their customers and articles in that database. Both customer and article are each identified by an unique integer value. Please create the SQL statements for creating the necessary table(s) for storing the invoices in a MySQL database. An invoice should hold information like invoice number, customer, date, article(s) and quantity etc.

1 4143

For the database from the previous question, please give an SQL query which returns the invoice number of all invoices which contain the article with the number ?1234?. The query should be able to run under a MySQL 4.0 database.

1 3402

How would you backup and restore a big MySQL database? What are the advantages of the approach which you have taken over the others?

4 10154

What are the differences between MySQL_fetch_array(), MySQL_fetch_object(), MySQL_fetch_row()?

2 7791

Explain MySQL optimization?

1 5650

The table tbl_sites contains the following data: ----------------------------------------------------- Userid sitename country ------------------------------------------------------ 1 sureshbabu indian 2 PHPprogrammer andhra 3 PHP.net usa 4 PHPtalk.com germany 5 MySQL.com usa 6 sureshbabu canada 7 PHPbuddy.com pakistan 8. PHPtalk.com austria 9. PHPfreaks.com sourthafrica 10. PHPsupport.net russia 11. sureshbabu australia 12. sureshbabu nepal 13. PHPtalk.com italy Write a select query that will displayed the duplicated site name and how many times it is duplicated?

Afixi, GE,

4 8948


Post New MySQL Questions

Un-Answered Questions { MySQL }

Does mysql use sql?

668


how to show all records starting with the letters 'sonia' and the phone number '9876543210' limit to records 1 through 5.

691


If you wish to encrypt the username and password using php, how will you do that?

734


If we use sum function in mysql, does it return sum of that row or for that column?

710


Can we join 3 tables in mysql?

684


What is data types in mysql?

652


What is the use of mysql workbench?

745


What is mvcc in mysql?

703


Consider you have a composite index of three columns. Now, you have to provide the value of two columns in the where clause of a select query. Do you think index can be used for the operation?

683


What is a tinyint in mysql?

673


What is index length in mysql?

676


What is an example of a delimiter?

685


What do ddl, dml, and dcl stand for?

655


How do I know if mysql is running on windows?

682


What is insert query in mysql?

662