MySQL Interview Questions
Questions Answers Views Company eMail

What are the method you will follow while sql installing

Mind Tree,

1191

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

1069

write a c++ program to add a user to mysql.the user should be permitted to only "insert" into the given database

Infosys, Webyog,

3 3568




What is diff b/w MYISAM and INNODB storage engine. and also define the benifits and drawbacks of both storage engine

1 2051

What is the difference between SQL and SQL Server?

HCL, Cognizant,

3 5090

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

3490

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.

2278

how to declare unique key in creating a table..?

2 4175




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

1689

How to write query to select word java's from column employees and from emp table

CGI,

1 1545

is it possible to assign two primary key in a table

IBM,

8 5957

How internally data stores in MyISAM and INNODB table types?

Zensar,

1361

maximum database size of mysql database

2 2925

when i declare date data type in sql ,i inserted the date 22-10-2012,but my result is in different date 1894-07-11 any one pls help me what's wrong in my query Create table orders(od_id int,od_name varchar(10),od_date date) insert into orders values(1,'sai',22-10-2012) and any one pls suggest what i can learn for 3 years real time experenice in sql because i am looking for database field

1 1726

I want to make a query where I want to eliminate the duplicate rows from the table. For example : Input : Table : NAME Column1 Column2 India USA USA India UK India India UK The desired output that I want to eliminate the duplicates Output India USA UK India Thanks

Sun Life,

2 2584


Post New MySQL Questions






Un-Answered Questions { MySQL }

How internally data stores in MyISAM and INNODB table types?

1361


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

744


What is RMS Migrations

1072


How can you move the master database

806


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

1583






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

1996


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

1532


why not null is not allowed at table level

1395


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)?

1018


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

437


I want to insert userid of a customer,order time,etc in a table called ordermaster with orderid as primary key.Same time the product codes and required quantities (a1,2 and a2 4 and so on)inserted in another table orderdetails with same orderid reference.How the code will be in JSP using MySQL?

797


what is mySQL. Is there any specific qualification required to do this course ? What is the scope in India after doing mySQL

257


What is striped backup

1137


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

1069


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.

2278