- World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.

Get it now !!
Send your Resume to 6000 Companies
MYSQL Interview Questions & Answers - Learning Mode

MYSQL Interview Questions & Answers - Learning Mode

MySQL, the most popular Open Source SQL database management system, is developed, distributed, and supported by Oracle Corporation. The MySQL Web site ( provides the latest information about MySQL software. MySQL is a database management system. A database is a structured collection of data.

Try MYSQL Interview Questions & Answers - Exam Mode
Subcategories for MYSQL Interview Questions & Answers - Learning Mode

Following are sub categories for which Interview Questions & Answers are available under MYSQL Interview Questions & Answers - Learning Mode. Please select the appropriate sub-category:-

MySQL Basics Interview Questions & Answers (3) Learning Mode | Exam Mode

1 2 3 4 Next

Sort By : Latest First | Oldest First | By Rating

MYSQL Interview Questions & Answers - Learning Mode
Try MYSQL Interview Questions & Answers - Exam Mode
Question: What are the objects can be created using CREATE statement?

Answer: Following objects are created using CREATE statement:

VIEW Source:
Question: What happens when the column is set to AUTO INCREMENT and you reach the maximum value for that table?

Answer: It stops incrementing. It does not overflow to 0 to prevent data losses, but further inserts are going to produce an error, since the key has been used already. Source:
Question: What are the advantages of Mysql comparing with oracle?

Answer: MySql has many advantages in comparison with Oracle.<br><br>1 - MySql is Open source, which can be available any time <br><br>2 - MySql has no cost of development purpose.<br><br>3 - MySql has most of features , which oracle provides <br><br>4 - MySql day by day updating with new facilities.<br><br>5 - Good for small application.<br><br>6 - easy to learn and to become master.<br><br>7 - MySql has a good power the Source:
Question: Describe the use of %ROWTYPE and %TYPE in PL/SQL

Answer: %ROWTYPE allows you to associate a variable with an entire table row.
The %TYPE associates a variable with a single column type. Source:
Question: What is the difference between MyISAM Static and MyISAM Dynamic?

Answer: In MyISAM static all the fields will have fixed width. The Dynamic MyISAM table will have fields like TEXT, BLOB, etc. to accommodate the data types with various lengths.

MyISAM Static would be easier to restore in case of corruption. Source:
Question: What are the limitations of mysql in Comparison of Oracle?

Answer: Every column in a database table is assigned a data type. The data type maybe native to the database management system or may be a custom data type. Each Oracle9i Database native data type belongs to one of six categories: character number date large object (LOB) raw and row identifier. Oracle date data types only store valid dates support automatic time zone conversion and store sub-second precision. MySQL categorizes data types into string numeric and date and time types. Unlike Oracle MySQL d Source:
Question: What are the advantages of mysql comparing with oracle?

Answer: MySql has many advantages in comparison to Oracle.

1 - MySql is Open source, which can be available any time

2 - MySql has no cost of development purpose.

3 - MySql has most of features , which oracle provides

4 - MySql day by day updating with new facilities.

5 - Good for small application.

6 - easy to learn and to become master.

7 - MySql has a good power these days.

even though MySql having so many advantages, Oracle is best database eve Source:
Question: What is Online Transaction Processing (OLTP)?

Answer: Online Transaction Processing or OLTP manages transaction based applications which can be used for data entry and easy retrieval processing of data. This processing makes like easier on simplicity and efficiency. It is faster, more accurate results and expenses with respect to OTLP. Source:
Question: What are the advantages of MySQL when compared with Oracle?

Answer: MySQL is open source software which is available at any time and has no cost involved.
MySQL is portable
GUI with command prompt.
Administration is supported using MySQL Query Browser Source:
Question: How many TRIGGERS are allowed in MySql table?

Answer: SIX triggers are allowed in MySql table. They are as follows:

Question: What are CSV tables?

Answer: Those are the special tables, data for which is saved into comma-separated values files. They cannot be indexed. Source:
Question: What does "tee" command do in MySQL?

Answer: "tee" followed by a filename turns on MySQL logging to a specified file. It can be stopped by command notee. Source:
Question: State two considerations which can improve the performance of MYSQL?

Answer: Two considerations which can improve the performance of MYSQL are as follows: -
1) Fixed length fields take up more space than variable length fields but they are a bit faster.
2) Size of the field should be restricted to the smallest possible value based upon the largest input value. Source:

Answer: The column exhibits the same behavior as a single timestamp column in a table with no other timestamp columns. Source:
Question: Can you save your connection settings to a conf file?

Answer: Yes, and name it ~/.my.conf. You might want to change the permissions on the file to 600, so that it?s not readable by others. Source:
Question: What are some good ideas regarding user security in MySQL?

Answer: There is no user without a password. There is no user without a user name. There is no user whose Host column contains % (which here indicates that the user can log in from anywhere in the network or the Internet). There are as few users as possible (in the ideal case only root) who have unrestricted access. Source:
Question: Describe the use of PL/SQL tables

Answer: PL/SQL tables are scalar arrays that can be referenced by a
binary integer. They can be used to hold values for use in later queries
or calculations. In Oracle 8 they will be able to be of the %ROWTYPE designation, or RECORD. Source:
Question: What are HEAP tables in MySQL?

Answer: HEAP tables are in-memory. They are usually used for high-speed temporary storage. No TEXT or BLOB fields are allowed within HEAP tables. You can only use the comparison operators = and <=>. HEAP tables do not support AUTO_INCREMENT. Indexes must be NOT NULL. Source:
Question: Explain about a security flaw which is present while creating a username?

Answer: Naming MYSQL databases has to be very careful because any database starting with the test name can be accessed by every one on the network. Make sure that you don?t start the databases naming with test. It should be used only for experimental purposes only. Source:
Question: Use mysqldump to create a copy of the database?

Answer: mysqldump -h mysqlhost -u username -p mydatabasename > dbdump.sql Source:

1 2 3 4 Next

India News Network
Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
Cache = 0.046875 Seconds