MySQL Interview Questions
Questions Answers Views Company eMail

How do you prevent MySQL from caching a query?

1 2937

What?s the difference between query_cache_type 1 and 2?

1 5631

How can we repair a MySQL table?

Infosys,

2 4183




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

5 27925

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

Accenture, TISL, Pioneer,

3 25961

How many values can the SET function of MySQL take?

Creative Informatics,

2 7263

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

SigmaTree,

2 5086

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

2 2805




What is maximum size of a database in MySQL?

Wipro, V2 Solutions, CIS, Bastioncoup, NM,

13 31083

Give the syntax of Grant and Revoke commands?

1 7203

Explain Normalization concept?

Inuva,

2 7724

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

3 5087

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

5 8289

How can increase the performance of MySQL select query?

Span Systems, RV Technologies,

3 8623

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 2661


Post New MySQL Questions






Un-Answered Questions { MySQL }

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

960


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

1597


How can you move the master database

821


all the queries used in sql

1452


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

2761






What are the critical issues you have resolved in your company

1010


What is RMS Migrations

1079


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 ?

987


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

1040


How to define numeric 9(3) in db2 table without decimal point??

1701


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

446


what is mysql optimization in brief?

1163


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

1548


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.

2309


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: karthikgdv1206@yahoo.com. Thanks, Kartik T

992