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

58/60

Page

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

Which function returns reference to array of row values?

Select an option to see the answer and solution.

Each language binding defines its own interface for accessing MySQL.

Select an option to see the answer and solution.

What sets up an association between one or more MyISAM tables and the named key cache?

Select an option to see the answer and solution.

What is generally used as a synonym for CHARACTER SET?

Select an option to see the answer and solution.

Which of these is the metadata log?

Select an option to see the answer and solution.

Which among the following is an optional Keyword?

Select an option to see the answer and solution.

In the CREATE TABLE statement, the engine name specified is case insensitive.

Select an option to see the answer and solution.

The default index type for MEMORY tables is . . . . . . . .

Select an option to see the answer and solution.

Which keyword is the synonym for DATABASE?

Select an option to see the answer and solution.

How many digits is the DECIMAL used for expressions containing only exact values with fractional part?

Select an option to see the answer and solution.

What will be the output of the following MySQL command?
SELECT emp_id, fname, lname
FROM employee
WHERE title=’HEAD TELLER’ AND start_date>2008-11-23;

Select an option to see the answer and solution.

Which of these is faster when accessing data?
memory, disk

Select an option to see the answer and solution.

Which variable when set to 1 would enable foreign key checking for InnoDB tables?

Select an option to see the answer and solution.

How many among the following does not return a value?
mysql_close(), mysql_init, mysql_real_connect

Select an option to see the answer and solution.

Which system variable determines the number of rows from INSERT DELAYED statements that can be queued per table?

Select an option to see the answer and solution.

On failure, 'mysql_query()' returns . . . . . . . .

Select an option to see the answer and solution.

The number of values returned from a stored procedure can be . . . . . . . .

Select an option to see the answer and solution.

If in Table "account", a column "cust_id" consists of {1,2,2,3,3,5,6,7,8,8} then what will be the output on executing the following MySQL statement?
SELECT DISTINICT cust_id
FROM account;

Select an option to see the answer and solution.

What does UTF stand for int utf8?

Select an option to see the answer and solution.

The binary protocol does not support all statements.

Select an option to see the answer and solution.