Top MySQL Interview Questions :: ALLInterview.com http://www.allinterview.com Top MySQL Interview Questions en-us Explain the difference between mysql and mysqli interfaces in PHP? http://www.allinterview.com/showanswers/19496.html mysqli is the object-oriented version of mysql library functions. What is the difference between GROUP BY and ORDER BY in Sql? http://www.allinterview.com/showanswers/20066.html Groupby: It is a way to sub-total your results,or perform some other 'aggregate' functions on them. Orderby: It is a simply a way to sort your results. It doesn't affect what shows up in your result set,only what order it is dis what are the main differences between MyISAM and InnoDB table storage http://www.allinterview.com/showanswers/35641.html this is pretty straightforward, not too technical though: http://forums.devarticles.com/general-sql-development-47/difference-between-myisam-and-non-myisam-tables-1745.html FTA: "MyISAM is of course the default table type i'm MySQL. What is maximum size of a database in MySQL? http://www.allinterview.com/showanswers/20058.html 60mb What is the maximum length of a table name, database name, and field http://www.allinterview.com/showanswers/20054.html tablename=64 databasename=64 fieldname=64 what is JOIN? Give example &amp; types of join? http://www.allinterview.com/showanswers/32310.html The act of joining in MySQL refers to smashing two or more tables into a single table.In short, a join command unites some or all of the data from two or more tables into one comprehensive structure. Types of Join 1. Inner Join 2. Explain the difference between FLOAT, DOUBLE and REAL. http://www.allinterview.com/showanswers/19521.html FLOATs store floating point numbers with 8 place accuracy and take up 4 bytes. DOUBLEs store floating point numbers with 16 place accuracy and take up 8 bytes. REAL is a synonym of FLOAT for now. What is the difference between char and varchar data types? http://www.allinterview.com/showanswers/20067.html char is used for fixed length memory storage whereas varchar is used for variable lenght memory storage. Fox Example if we have char(10) then we can store 10 bit value in it but if we store only 6 bit value in it then rest of the 4 bit space is g What is SERIAL data type in MySQL? http://www.allinterview.com/showanswers/19512.html BIGINT NOT NULL PRIMARY KEY AUTO_INCREMENT . What are the advantages of stored procedures, triggers, indexes? http://www.allinterview.com/showanswers/20053.html 1.Advsntsge of Stored Procedures: ================================ Stored Procedures are precompiled one. it is the group of sql statements. stored procedure like a application programming. stored procedure is a fast one because it is al What are the differences between drop a table and truncate a table? http://www.allinterview.com/showanswers/20072.html drop--> means table is delete ,not roll back, truncate--> A select query over a large table runs very slow because of the grow http://www.allinterview.com/showanswers/20073.html By using LIMIT we can improve speed. What is the difference between mysql_connect() and mysql_pconnect()? http://www.allinterview.com/showanswers/3075.html mysql_connect open a new connection to the database but mysql_pconnect open a persistant connection to the database Explain MySQL architecture? http://www.allinterview.com/showanswers/19524.html The front layer takes care of network connections and security authentications, the middle layer does the SQL query parsing, and then the query is handled off to the storage engine. A storage engine could be either a default one supplied w How can we change the name and data type of a column of a table? http://www.allinterview.com/showanswers/20071.html To Change DataType of Column: Sy: Alter Table <Table Name> Modify <ColumnName> <DataType>; Ex: Alter Table Test Modify EmpId varchar(5);