Mysql Query Optimization


  1. Which line of the following statements will produce error?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: E

    None of these


  1. Which command is used to remove existing tables or database?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    DROP TABLE



  1. Which command is used to display all the existing tables in a database?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    SHOW TABLES


  1. Is duplicate entry of primary key is allowed in SQL?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    Primary key are used to uniquely define attributed stored in the table.



  1. Is duplicate entry of other attributes are allowed in SQL?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    Duplicate values are allowed but not for Primary Key attributes.