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

16/60

Page

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

To check how MySQL would execute a SELECT query, which statement is used?

Select an option to see the answer and solution.

What will be the output of the following SQL statement?
SELECT *
 FROM person;

Select an option to see the answer and solution.

What is the meaning of "GROUP BY" clause in Mysql?

Select an option to see the answer and solution.

Is there any error in executing the following MySQL command?
SELECT USER (),
VERSION (), DATABASE ();

Select an option to see the answer and solution.

Which of the following are the valid "database datatypes" in Mysql?

Select an option to see the answer and solution.

With only MyISAM tables, how many of the following are for use?
mysql, mysqladmin, mysqldump, mysqlisamchk

Select an option to see the answer and solution.

The datatype SMALLINT stores . . . . . . . .

Select an option to see the answer and solution.

How can the value of recently generated sequence number be obtained?

Select an option to see the answer and solution.

SELECT select_list FROM table_list WHERE row_constraint GROUP BY grouping_columns; Which of these is not optional?

Select an option to see the answer and solution.

Which of these is not used to connect to the MySQL server?

Select an option to see the answer and solution.

The function returning reference to array of row values is . . . . . . . .

Select an option to see the answer and solution.

Which of these is a read only variable?

Select an option to see the answer and solution.

MySQL stores the database character set and collation attributes in the file . . . . . . . .

Select an option to see the answer and solution.

The MySQL APIs are libraries to connect applications to database servers.

Select an option to see the answer and solution.

Fill the blanks with suitable options?
BETWEEN . . . . . . . . AND . . . . . . . .

Select an option to see the answer and solution.

MySQL can be used to execute script files.

Select an option to see the answer and solution.

Multiple statement execution is not enabled by default.

Select an option to see the answer and solution.

If COLLATE is given without CHARACTER SET, the first part of the collation name gives the character set.

Select an option to see the answer and solution.

0x61 + 0 results in . . . . . . . .

Select an option to see the answer and solution.

It is not required to have an access privilege for a database before selecting it with 'USE'.

Select an option to see the answer and solution.