SQL MCQ Quiz Hub

SQL MCQ SET 4

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

The return value from operations returning a row count is ______





✅ Correct Answer: 3

Which mode of search is the search string parsed into words and the search looks for rows?





✅ Correct Answer: 2

The indicator of presence/absence of a word in search is used in the mode _____





✅ Correct Answer: 2

The numbers that are prefixed with ‘0x’ are in base ______





✅ Correct Answer: 2

What is the escape sequence for carriage return?





✅ Correct Answer: 2

What is the datatype for single precision floating point number?





✅ Correct Answer: 1

RTF refers to ________





✅ Correct Answer: 1

The function returning an array of row values is ______________





✅ Correct Answer: 4

The function returning reference to hash of row values is ______________





✅ Correct Answer: 4

fetchrow_hashref() returns reference to hash of row values keyed by _____





✅ Correct Answer: 2

The function returning reference to array of row values is ______





✅ Correct Answer: 2

Illegal values converted to the appropriate ‘zero’ value for ________





✅ Correct Answer: 4

The column attribute provides unique numbers for identification is _______





✅ Correct Answer: 1

The module that links DBI to the web is ________





✅ Correct Answer: 3

CGI stands for ________





✅ Correct Answer: 2

Which line is written at the top of the script to write a Perl script using CGI.pm?





✅ Correct Answer: 3

By default, the AUTO_INCREMENT sequences begin at __________





✅ Correct Answer: 2

What does the expression ’12 DIV 5′ evaluate to?





✅ Correct Answer: 2

What does ‘abc’ || ‘xyz’ result in if the PIPES_AS_CONCAT is disabled?





✅ Correct Answer: 2

The AUTO_INCREMENT column attribute is best used with ______________





✅ Correct Answer: 2

The datatype best suited to store currency values is ______________





✅ Correct Answer: 4

The output from PHP is __________





✅ Correct Answer: 2

PHP variables are preceded by __________





✅ Correct Answer: 3

The datatype best suited to store currency values is __________





✅ Correct Answer: 4

What returns a result to the client?





✅ Correct Answer: 1

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





✅ Correct Answer: 3

Which statement is used to produce a stored function?





✅ Correct Answer: 2

The number of values that can be returned from a given stored function is ______________





✅ Correct Answer: 2

The statement used to create a trigger is ______________





✅ Correct Answer: 1

In PHP, if $a represents an array with numeric indices, how is the first element accessed?





✅ Correct Answer: 2

In PHP, which operator is used to access property of an object?





✅ Correct Answer: 3

DBI scripts are located in the directory ______________





✅ Correct Answer: 2

A stored program associated with a schedule is _____________





✅ Correct Answer: 2

The line used to turn on the event scheduler is ______________





✅ Correct Answer: 1

What is the creation of a stored program similar to?





✅ Correct Answer: 3

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





✅ Correct Answer: 2

What is the maximum number of indexes on MyISAM table?





✅ Correct Answer: 4

The hub of a MySQL installation is _______





✅ Correct Answer: 4

The tool for copying databases is _______





✅ Correct Answer: 3

Which statement is used to check how MySQL would execute a SELECT query?





✅ Correct Answer: 4

What is used to perform an analysis of key values by the server?





✅ Correct Answer: 2

The function used to convert an int to string is ________





✅ Correct Answer: 2

The function used to convert a string to an int is ____





✅ Correct Answer: 1

Without LOCAL, LOAD DATA is ____





✅ Correct Answer: 2

The log in which data changes received from a replication master server are written are ____





✅ Correct Answer: 4

Which of these is the metadata log?





✅ Correct Answer: 2

The max_binlog_cache_size system variable has default size _____





✅ Correct Answer: 3

The system variable controls the size of the table cache _______





✅ Correct Answer: 1

Which of these exports table definitions and contents?





✅ Correct Answer: 1

MySQL uses security based on ACL which stands for ______





✅ Correct Answer: 2