SQL MCQ Quiz Hub

SQL MCQ SET 7

Choose a topic to test your knowledge and improve your SQL skills

In which table of INFORMATION_SCHEMA is the information about table index characteristics stored?





✅ Correct Answer: 2

What is the join where all possible row combinations are produced?





✅ Correct Answer: 4

What is the clause that filters JOIN results called?





✅ Correct Answer: 1

What are CROSS JOIN and JOIN are similar to?





✅ Correct Answer: 1

The grant table that stores users who can connect to the server and their global privileges are ______





✅ Correct Answer: 1

The stored-routine privileges are contained in _______





✅ Correct Answer: 4

The statement used to obtain access privileges to an account is _______





✅ Correct Answer: 3

The operators used when a subquery returns multiple rows to be evaluated in comparison to the outer query are _______





✅ Correct Answer: 1

The ALL subquery performs the operation ______





✅ Correct Answer: 2

The keyword used with UNION that does not retain duplicate rows is _______





✅ Correct Answer: 4

The keyword used with UNION that retains duplicate rows is ________





✅ Correct Answer: 1

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





✅ Correct Answer: 1

The log that identifies statements that may be in need of being rewritten for better performance is ________





✅ Correct Answer: 3

The default value in seconds in the system variable ‘long_query_time’ is ______





✅ Correct Answer: 2

The logging option to enable binary log index file is _______





✅ Correct Answer: 1

The operators that are used when a subquery returns multiple rows to be evaluated in comparison to the outer query are ____________





✅ Correct Answer: 1

The ALL subquery performs operations on _____________





✅ Correct Answer: 2

What is the kind of delete when deletion of an employee from the table also deletes that employee from another table?





✅ Correct Answer: 4

The storage engine in MySQL that provides foreign key support is ___________





✅ Correct Answer: 2

What is the property of InnoDB that enforces foreign key relationships stay intact?





✅ Correct Answer: 4

Which mode exists at both global level and session-specific level?





✅ Correct Answer: 1

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





✅ Correct Answer: 4

The largest value to which the variable ‘max_allowed_packet’ can be set is _______





✅ Correct Answer: 1

Increasing the value of which system variable enables mysqld to keep more tables open simultaneously?





✅ Correct Answer: 1

The keyword used with UNION that retains duplicate rows is ___________





✅ Correct Answer: 1

The search mode that uses natural language search as a subroutine is ________





✅ Correct Answer: 3

For what can the FULLTEXT indexes be created for?





✅ Correct Answer: 1

For which of these storage engines are configuration options always built?





✅ Correct Answer: 4

The storage engine for which the runtime options are always enabled is ______





✅ Correct Answer: 4

The most important configurable resource for MyISAM is _____





✅ Correct Answer: 1

Which system variable enables mysqld to keep more tables open simultaneously?





✅ Correct Answer: 1

How can a view refer to multiple tables?





✅ Correct Answer: 2

What is the mantissa in -1.58E5?





✅ Correct Answer: 1

What is the precision of BIGINT?





✅ Correct Answer: 2

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





✅ Correct Answer: 3

The LOCAL capability for client library is enabled by _______





✅ Correct Answer: 2

What is the most important configurable resource for MyISAM?





✅ Correct Answer: 1

How many options can be used to control LOCAL capability at runtime?





✅ Correct Answer: 3

The mode used to turn off the special meaning of backslash and treat it as an ordinary character is ______





✅ Correct Answer: 3

What is x’ffff’ in decimal?





✅ Correct Answer: 3

What are X’61626364′ and X’61626364′?





✅ Correct Answer: 1

The variable which represents the default time zone of the MySQL server is _______





✅ Correct Answer: 1

The number of options that can be used to control LOCAL capability at runtime is _____





✅ Correct Answer: 3

If an error occurs during the transaction the troubleshoot is ______





✅ Correct Answer: 2

The ‘A’ in the ACID property of transactions is _____





✅ Correct Answer: 4

The ‘C’ in the ACID property of transactions is ____





✅ Correct Answer: 4

The datatype that means a variable length non binary string is _____





✅ Correct Answer: 1

The date and time datatype that stores time value in ‘hh:mm:ss’ format is ______





✅ Correct Answer: 2

The spatial datatype used to store a curve is _______





✅ Correct Answer: 3

The option that supplies the pathname to root directory of MySQL installation is _______





✅ Correct Answer: 1