MySQL Interview Questions
Questions Answers Views Company eMail

How do you prevent MySQL from caching a query?

1 3010

What?s the difference between query_cache_type 1 and 2?

1 5701

How can we repair a MySQL table?

Infosys,

2 4290




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

5 28160

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

Accenture, TISL, Pioneer,

3 26304

How many values can the SET function of MySQL take?

Creative Informatics,

2 7340

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

SigmaTree,

2 5146

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

2 2903




What is maximum size of a database in MySQL?

Wipro, V2 Solutions, CIS, Bastioncoup, NM,

13 31632

Give the syntax of Grant and Revoke commands?

1 7282

Explain Normalization concept?

Inuva,

2 7792

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

3 5173

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

5 8412

How can increase the performance of MySQL select query?

Span Systems, RV Technologies,

3 8748

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 2736


Post New MySQL Questions






Un-Answered Questions { MySQL }

Please can the SQL code below be interpreted IF @xMatchCriteria='MATCH12' BEGIN IF EXISTS (Select * from #InsightData where (EmailAddress=@xDCPEmailAddress ) ) BEGIN SET @xTestMatchCriteria = @xMatchCriteria; SELECT @xCRMCustomerId=CustomerId, @xCRMDcpCustomerId=DcpCustomerId, @xCRMPortalCustomerID=PortalCustomerID,@xCRMDcpID=DcpID, @xCRMCardNumber=CardNumber, @xCRMEmailAddress=EmailAddress, @xCRMfirtLetterFirstName=firtLetterFirstName, @xCRMLastName=Surname,@xCRMAddressLine1=AddressLine1, @xCRMPostCode=PostCode FROM #InsightData where (EmailAddress=@xDCPEmailAddress ) END ELSE BEGIN SET @xTestMatchCriteria='No'+@xMatchCriteria; END END

489


what is mysql optimization in brief?

1227


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

793


What is striped backup

1195


HOW TO FIND display the total number of weeks in the year of 1998 IN EMP TABLE

1015






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

3552


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

1646


Explain the architecture models of SQL Server?

1263


all the queries used in sql

1490


What are the critical issues you have resolved in your company

1069


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

2812


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...

1693


How to set the time zone for MySQL to particular country time?

2055


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

1140


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.

2408