MySQL Database Operations
- The ALL subquery performs operations on _____________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
The operators ‘ALL’ and ‘ANY’ are used to perform operations on columns. They are used in conjunction with a comparison operator in order to test the result of a column subquery.
- What is the kind of delete when deletion of an employee from table also deletes that employee from another table?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
In MySQL, a cascaded delete and update is possible where records can be deleted from multiple tables. These tables are related with the help of foreign keys. Foreign keys make table updates flexible.
- The PHP interpreter switches mode continuously.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
As soon as the PHP interpreter comes across a special opening tag it switches from ‘text copy’ mode to ‘PHP code’ mode. It starts interpreting the file as PHP code to be executed.
- How is the output from PHP generated?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
The interpreter switches between code mode back and text mode when it sees another special tag which signals the end of the code. This enables the mix of static text with dynamically generated results.
- What attempts auto recovery based on the contents of its serial log?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
When the Falcon storage engine is enabled, it attempts the auto recovery based on the contents of its serial log. If the InnoDB storage engine is enabled, it checks for a variety of problems automatically.