SQL MCQ Quiz Hub

SQL MCQ SET 5

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

The argument to the function mysql_error() is ________





✅ Correct Answer: 4

What does mysql_real_connect() return if it fails?





✅ Correct Answer: 4

The –protocol value ‘TCP’ runs on which operating systems?





✅ Correct Answer: 3

The general statement-issuing routine is _______





✅ Correct Answer: 1

For failure, mysql_query() returns ______





✅ Correct Answer: 4

mysql_fetch_row() returns ______





✅ Correct Answer: 4

What enables encrypted connections to be established?





✅ Correct Answer: 1

The exec_stmt_ssl is written in ______





✅ Correct Answer: 2

On failure, ‘mysql_query()’ returns ______





✅ Correct Answer: 4

Which mode prevents MySQL to perform full checking of date parts?





✅ Correct Answer: 4

Which statement is used to determine the storage engine for individual tables?





✅ Correct Answer: 1

Which table in the ‘INFORMATION_SCHEMA’ stores information about storage engines and server plugins?





✅ Correct Answer: 1

The embedded server library containing the MySQL server linkable into applications is ______





✅ Correct Answer: 4

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





✅ Correct Answer: 1

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





✅ Correct Answer: 4

Comparing a known value with NULL results into _______





✅ Correct Answer: 1

Which is the command to move the cursor to the beginning of line in mysql input editor?





✅ Correct Answer: 4

The name of the option file in Unix is ______





✅ Correct Answer: 1

System variable in MySQL server that enables to configure the SQL mode is ____





✅ Correct Answer: 1

Which option enables multiple-statement execution?





✅ Correct Answer: 1

Which option executes all SQL statements in a SQL script irrespective of the number of errors?





✅ Correct Answer: 2

To see the table structure which command is issued?





✅ Correct Answer: 4

Which character is illegal in naming an unquoted identifier in SQL?





✅ Correct Answer: 1

Which statement is valid if ‘`sampledb`’ is a database and ‘`tbl`’ is a table in it?





✅ Correct Answer: 2

The default case sensitivity of the database and table names depends on ___________





✅ Correct Answer: 2

The maximum collations a character set can have is ______________





✅ Correct Answer: 4

A synonym for CHARACTER SET is ______





✅ Correct Answer: 3

The statement used to select a default database is ______





✅ Correct Answer: 1

The statement that makes changes to the global attributes of the database is ______





✅ Correct Answer: 2

The statement used to remove indexes on tables is _____





✅ Correct Answer: 1

The statement used to change the table name is ____





✅ Correct Answer: 1

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





✅ Correct Answer: 4

The shebang line is ______





✅ Correct Answer: 1

The Perl DBI is _______





✅ Correct Answer: 3

The default path to perl in Unix is ______





✅ Correct Answer: 1

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?





✅ Correct Answer: 4

What is the facility that allows nesting one select statement into another?





✅ Correct Answer: 3

Which of these operators does not perform relative value comparisons?





✅ Correct Answer: 2

To combine multiple retrievals, which keyword is used to write several SELECT statements between them?





✅ Correct Answer: 4

Issuing ‘SELECT’ on a MERGE table is like ______





✅ Correct Answer: 2

In Perl DBI, functions are called ______





✅ Correct Answer: 3

Which variable is used as a handle to an open file?





✅ Correct Answer: 3

The variable that is a handle to a database object is ______





✅ Correct Answer: 1

Which variable returns code from operations that return true or false?





✅ Correct Answer: 1

The statement to remove indexes on tables is _______





✅ Correct Answer: 1

What allows nesting one select statement into another?





✅ Correct Answer: 3

The operator that does not perform relative-value comparisons is ________





✅ Correct Answer: 2

The key declares that an index in one table is related to that in another is called ______





✅ Correct Answer: 3

The generic handle whose meaning depends on context is _____





✅ Correct Answer: 4

The non handle array representing a row of values is ________





✅ Correct Answer: 4