MCQOPTIONS
Saved Bookmarks
This section includes 70 Mcqs, each offering curated multiple-choice questions to sharpen your Mysql knowledge and support exam preparation. Choose a topic below to get started.
| 51. |
xyz in the following statement is __________. |
| A. | database |
| B. | table |
| C. | column |
| D. | view |
| E. | None of these |
| Answer» E. None of these | |
| 52. |
Anonymous accounts have user name ______________. |
| A. | prime |
| B. | root |
| C. | blank |
| D. | super |
| E. | None of these |
| Answer» D. super | |
| 53. |
The superuser account of the grant tables in the mysql database is called ______________. |
| A. | leaf |
| B. | super |
| C. | prime |
| D. | root |
| E. | None of these |
| Answer» E. None of these | |
| 54. |
To see the table structure, which of the following commands is issued? |
| A. | VIEW tbl_name |
| B. | SELECT TABLE tbl_name |
| C. | SELECT tbl_name |
| D. | DESCRIBE tbl_name |
| E. | None of these |
| Answer» E. None of these | |
| 55. |
What does Student & name specify? |
| A. | column specs and table name |
| B. | table name and number of rows |
| C. | table name and column specs |
| D. | table name and number of columns |
| E. | None of these |
| Answer» D. table name and number of columns | |
| 56. |
Suppose you want to select a database named sampledb as the default database. Which of the following commands do you use? |
| A. | USE DATABASE sampledb |
| B. | USE sampledb |
| C. | SELECT DATABASE sampledb |
| D. | SELECT DATABASE() |
| E. | None of these |
| Answer» C. SELECT DATABASE sampledb | |
| 57. |
The query SELECT NOW() shows the current _____________. |
| A. | date and time |
| B. | date only |
| C. | time only |
| D. | table |
| E. | None of these |
| Answer» B. date only | |
| 58. |
The collations this statement lists are ______________. |
| A. | names ending in utf8% |
| B. | names containing utf8% anywhere |
| C. | names ending with utf8 |
| D. | names beginning with utf8 |
| E. | None of these |
| Answer» E. None of these | |
| 59. |
The statement used to find out which character sets are available is ______________. |
| A. | SHOW COLLATIONS |
| B. | SHOW COLLATION |
| C. | SHOW CHARACTER SET |
| D. | SHOW CHARACTER SETS |
| E. | None of these |
| Answer» D. SHOW CHARACTER SETS | |
| 60. |
The clause that can be used to sort string values according to a specific collation is ______________. |
| A. | COLLATE |
| B. | FILTER |
| C. | GROUP |
| D. | SORT |
| E. | None of these |
| Answer» B. FILTER | |
| 61. |
The variable used to set table alias names as non case sensitive is ______________. |
| A. | lower_case_all |
| B. | lower_case_aliases |
| C. | lower_case_table_names |
| D. | lower_case_alias |
| E. | None of these |
| Answer» D. lower_case_alias | |
| 62. |
The case sensitive among these is ______________. |
| A. | Event name |
| B. | Stored function name |
| C. | Stored procedure name |
| D. | Trigger name |
| E. | None of these |
| Answer» E. None of these | |
| 63. |
What is tamp in the following command? |
| A. | password |
| B. | table name |
| C. | user name |
| D. | host name |
| E. | None of these |
| Answer» D. host name | |
| 64. |
What is the host name in the following command? |
| A. | interview.mania.com |
| B. | mania |
| C. | interview |
| D. | interview.mania |
| E. | None of these |
| Answer» B. mania | |
| 65. |
The NULL value also means ___________. |
| A. | a large value |
| B. | value equal to zero |
| C. | unknown value |
| D. | negative values |
| E. | None of these |
| Answer» D. negative values | |
| 66. |
What is Employee in the following statement? |
| A. | column name |
| B. | table name |
| C. | database name |
| D. | row name |
| E. | None of these |
| Answer» C. database name | |
| 67. |
Identify the table name in the following statement. |
| A. | Ajit |
| B. | M |
| C. | Employee |
| D. | Values |
| E. | None of these |
| Answer» D. Values | |
| 68. |
In the following code, InnoDB is __________. |
| A. | table name |
| B. | reference engine |
| C. | storage engine |
| D. | database name |
| E. | None of these |
| Answer» D. database name | |
| 69. |
The special database that always exists after setting up MySQL in a computer is __________. |
| A. | information_schema |
| B. | mysql |
| C. | readme_db |
| D. | sampdb |
| E. | None of these |
| Answer» B. mysql | |
| 70. |
What column names are displayed when this command is executed? |
| A. | prefixed with name |
| B. | prefixed with %name |
| C. | suffixed with name |
| D. | suffixed with %name |
| E. | None of these |
| Answer» D. suffixed with %name | |