MySQL Database Operations


  1. The ALL subquery performs operations on _____________.











  1. 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.


  1. What is the kind of delete when deletion of an employee from table also deletes that employee from another table?











  1. 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.



  1. The PHP interpreter switches mode continuously.











  1. 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.


  1. How is the output from PHP generated?











  1. 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.



  1. What attempts auto recovery based on the contents of its serial log?











  1. 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.