MCQOPTIONS
Saved Bookmarks
This section includes 11 Mcqs, each offering curated multiple-choice questions to sharpen your Structured Query Language (SQL) knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
The columns containing a binary value that include null bytes will print properly using the %s printf() format specifier. |
| A. | True |
| B. | False |
| Answer» C. | |
| 2. |
What does mysql_fetch_row() return? |
| A. | integer |
| B. | float |
| C. | structure |
| D. | pointer |
| Answer» E. | |
| 3. |
How many of the following do not return rows? |
| A. | 0 |
| B. | 1 |
| C. | 2 |
| D. | 3View Answer |
| Answer» B. 1 | |
| 4. |
What is the number of attributes in the following SQL table? |
| A. | 1 |
| B. | 2 |
| C. | 3 |
| D. | 30View Answer |
| Answer» C. 3 | |
| 5. |
WHAT_DOES_MYSQL_FETCH_ROW()_RETURN??$ |
| A. | integer |
| B. | float |
| C. | structure |
| D. | pointer |
| Answer» C. structure | |
| 6. |
The option that executes all SQL statements in a SQL script irrespective of the number of errors is ____________ |
| A. | –ensure |
| B. | –force |
| C. | –violent |
| D. | –run |
| Answer» C. ‚Äö√Ñ√∂‚àö√ë‚àö¬®violent | |
| 7. |
mysql_next_result() does not return a status. |
| A. | True |
| B. | False |
| Answer» C. | |
| 8. |
The Audit_log_events system variable is of type _____________ |
| A. | string |
| B. | integer |
| C. | float |
| D. | double |
| Answer» C. float | |
| 9. |
What is the synonym for last_insert_id session variable? |
| A. | insert_id |
| B. | identity |
| C. | sql_auto_is_null |
| D. | sql_big_selects |
| Answer» C. sql_auto_is_null | |
| 10. |
Which keyword inserted in the SHOW STATUS statement shows the values for the current connection? |
| A. | GLOBAL |
| B. | SESSION |
| C. | LOCAL |
| D. | DEFAULT |
| Answer» C. LOCAL | |
| 11. |
The statement that views status variables by aggregating the values over all connections is _____________ |
| A. | SHOW SESSION STATUS |
| B. | SHOW LOCAL STATUS |
| C. | SHOW GLOBAL STATUS |
| D. | SHOW STATUS |
| Answer» D. SHOW STATUS | |