MySQL Interview Questions
Questions Answers Views Company eMail

How do you prevent MySQL from caching a query?

1 2866

What?s the difference between query_cache_type 1 and 2?

1 5506

How can we repair a MySQL table?


2 4065

What are the advantages of stored procedures, triggers, indexes?

5 27601

What is the maximum length of a table name, database name, and fieldname in MySQL?

Accenture, TISL, Pioneer,

2 25367

How many values can the SET function of MySQL take?

Creative Informatics,

2 7155

What are the other commands to know the structure of table using MySQL commands except explain command?


2 5002

How many tables will create when we create table, what are they?

2 2725

What is maximum size of a database in MySQL?

Wipro, V2 Solutions, CIS, Bastioncoup, NM,

13 30514

Give the syntax of Grant and Revoke commands?

1 7118

Explain Normalization concept?


2 7620

How can we find the number of rows in a table using MySQL?

3 5000

How many ways we can we find the current date using MySQL?

5 8186

How can increase the performance of MySQL select query?

Span Systems, RV Technologies,

3 8526

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 2590

Post New MySQL Questions

Un-Answered Questions { MySQL }

suppose data is copie to oracle to sql by using DTS. Actully it taken 2 hours. suppose some day distribute the server in the middle of 2 hours. after how can i get the data ?


explain GROUPBY & HAVING clause with examples.


using primary can we relate two table, with out foreign key?


What is RMS Migrations

1023 to fetch a value and Execute store procudure in mysql(INNODB) using phpMyAdmin? 2.can i wright a package in mysql database(INNODB)?


Table - Products has number of products as below Productid ProductName 1 iPhone 2 iPad 3 BlackBerry Table - SalesPersonProduct has the below records Salespersonid productid S1 1 S1 2 S1 3 S2 1 S3 2 Write a SQL query that returns the total number of sold products


i made a table whih contain a column "Photo" with image data type and i want to insert the byte of a picture present in my hardisk using insert statement in that colum... so what will be my insert statement?


how to get only updated, deleted , inserted records after certain interval time in mysql with out using triggers...


all the queries used in sql


What is difference between Sql server and MySql database? It may be silly question but i really dont know.


In a property booking section want a query to check that property is booked from StartDate to EndDate.Booking Table field are given id proerty_id start_date checkout_date no_of_visitor booking date status Waiting yours answer.. Thanks In Advance...


I've looked but can't find a MySQL equivalent for MS SQL's xp_cmdshell. I have 7z files that I want to unzip and load into MySQL. I'm trying to write a sp to do the unzip, but I can't find a way to do that. Can anyone provide an example of a similar process in Windows? TIA.


Hi Team, This is kartik, I recently completed my B-tech. Importance of posting this question is for to know the best books on SQL(MYSQL/Oracle)? I like SQL concept's so much, at the same time i decided to choose SQL for my career purpose. So please suggest me the best books that are very helpful for a fresher to improve concepts like (SQL/PLSQL)Basics, programming concepts, architectures etc. Please consider my request as an important one. I am very thankful to you for providing this opportunity. If possible can you please send the names of books for my personal id also: Thanks, Kartik T


Can u give the example by taking an unnormalized table and make that 1nf and then 25nf, and then 3 nf?


How to enable or disable a row of a table using MySQL in struts?