Vidyalelo
MySQL · all questions

MySQL
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

1,185

Questions

9/60

Page

Pick an option on a question to see the right answer and solution.

The library file that contains various portability macros and definitions is . . . . . . . .

Select an option to see the answer and solution.

The most restrictive among the following is . . . . . . . .
mysql_query(), mysql_real_query()

Select an option to see the answer and solution.

The largest value to which the variable 'max_allowed_packet' can be set is . . . . . . . .

Select an option to see the answer and solution.

User defined variables are session specific.

Select an option to see the answer and solution.

For which table does 'REPAIR TABLE' not work?

Select an option to see the answer and solution.

The maximum number of elements allowed in SET() is . . . . . . . .

Select an option to see the answer and solution.

What is the significance of "ORDER BY emp_id DESC" in the following MySQL command?
SELECT emp_id, fname, lname
FROM person
ORDER BY emp_id DESC;

Select an option to see the answer and solution.

What has a higher priority?
writes, reads

Select an option to see the answer and solution.

X'61626364' and X'61626364' are respectively . . . . . . . .

Select an option to see the answer and solution.

Will the following SQL command produce any error?
INSERT INTO person
(person_id, fname,lname)
VALUES (1,’S’,’U’),
VALUES (2,’T’,’U’);
/* where person_id is a primary key */

Select an option to see the answer and solution.

Which among the following is the correct syntax for showing all tables in the database?

Select an option to see the answer and solution.

Perl scripts are text files.

Select an option to see the answer and solution.

Which command is used for taking "server side help" in Mysql command line tool?

Select an option to see the answer and solution.

Which privileges are required on the source server to use mysqldbcopy?

Select an option to see the answer and solution.

Which of the following functions are not performed by "ALTER" clause?

Select an option to see the answer and solution.

The server uses a Unix domain socket file for connections by clients to localhost.

Select an option to see the answer and solution.

Anonymous accounts have user name . . . . . . . .

Select an option to see the answer and solution.

Which clause names the parent table and the index columns in the table?

Select an option to see the answer and solution.

RTF refers to . . . . . . . .

Select an option to see the answer and solution.

The MySQL server is configurable.

Select an option to see the answer and solution.