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

47/60

Page

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

The place where the server stores its databases and status files are the database directory.

Select an option to see the answer and solution.

The log that contains a record of server startups and shutdowns and the messages about exceptional conditions is . . . . . . . .

Select an option to see the answer and solution.

What is the datatype for single precision floating point number?

Select an option to see the answer and solution.

The option that suppresses output unless there are errors in the table is . . . . . . . .

Select an option to see the answer and solution.

What does the default case sensitivity of database and table names depend on?

Select an option to see the answer and solution.

Which variable is a handle to a database object?

Select an option to see the answer and solution.

How many of these are for use with only MyISAM tables?
mysql, mysqladmin, mysqldump, mysqlisamchk

Select an option to see the answer and solution.

Is there any error in executing the following MySQL command?
SELECT emp_id, ‘ACTIVE’,
       emp_id * 3.145,
       UPPER (lname)
       FROM Employee;

Select an option to see the answer and solution.

The option that executes all SQL statements in a SQL script irrespective of the number of errors is . . . . . . . .

Select an option to see the answer and solution.

To produce a stored function, which statement is used?

Select an option to see the answer and solution.

CHECK TABLE works with how many of the following?
MyISAM, ARCHIVE, CSV

Select an option to see the answer and solution.

Stored programs improve database security.

Select an option to see the answer and solution.

Which is the join in which all the rows from the right table appear in the output irrespective of the content of the other table?

Select an option to see the answer and solution.

What is the special database that always exists after setting up MySQL on a computer?

Select an option to see the answer and solution.

What is the general term for information about databases and the objects in MySQL?

Select an option to see the answer and solution.

Multiple statement execution is enabled by default.

Select an option to see the answer and solution.

The expression 12 DIV 5 evaluates to . . . . . . . .

Select an option to see the answer and solution.

Calculations involving numbers are faster than those involving string.

Select an option to see the answer and solution.

To combine multiple retrievals, we write several SELECT statements and put the keyword between them. What is the keyword?

Select an option to see the answer and solution.

If attribute "fruit" stores data as "apple, mango, banana" in table person then what will be the output of the following SQL command?
SELECT fruit FROM person
WHERE person_id=1
ORDER BY fruit;

Select an option to see the answer and solution.