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

45/60

Page

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

What are PHP variables preceded by?

Select an option to see the answer and solution.

When the security context enables carefully written stored programs to be set up that provide controlled access to tables for users, it is called . . . . . . . .

Select an option to see the answer and solution.

INT3 maps to MySQL type . . . . . . . .

Select an option to see the answer and solution.

Which "text type" has the maximum number of bytes?

Select an option to see the answer and solution.

What does 'name' represent in the following SQL code snippet?
CREATE TABLE student
(
    name CHAR(30),
    roll_num INT,
    address CHAR(30),
    phone CHAR(12)
);

Select an option to see the answer and solution.

Which of these is used during MySQL setup?

Select an option to see the answer and solution.

Which clause is used to display information that matches a given pattern?

Select an option to see the answer and solution.

Find the error in the following SQL statement?
SELECT *;

Select an option to see the answer and solution.

Is duplicate entry of other attributes are allowed in SQL?

Select an option to see the answer and solution.

What is defined to execute when the table is modified only?

Select an option to see the answer and solution.

The max_binlog_cache_size system variable has default size . . . . . . . .

Select an option to see the answer and solution.

When building from source, the embedded server library is enabled by . . . . . . . .

Select an option to see the answer and solution.

Which system variable when set to 1, makes all temporary tables to get stored on disk rather than in memory?

Select an option to see the answer and solution.

Mysql support different character sets, which command is used to display all character sets?

Select an option to see the answer and solution.

Which upgrade involves exporting existing data using mysqldump?

Select an option to see the answer and solution.

Which of the following MySQL statements is valid if '`sampledb`' is a database and '`tbl`' is a table in it?

Select an option to see the answer and solution.

The return value from operations returning a row count is . . . . . . . .

Select an option to see the answer and solution.

What is the meaning of "REFERENCES" in table definition?

Select an option to see the answer and solution.

The stored-routine privileges are contained in . . . . . . . .

Select an option to see the answer and solution.

Which clause is used to "group rows together by common columns values"?

Select an option to see the answer and solution.