MySQL Table Operations


  1. In the CREATE TABLE statement, the engine name specified is case sensitive.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    Suppose a table is created using the following statement: ‘CREATE TABLE my_tbl (…..) ENGINE = InnoDB;’. The engine name ‘InnoDB’ used is always case insensitive.


  1. What is the name of the format file for a table named my_tbl?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Every time a table is created in MySQL, it creates a disk file containing the format of the table. It has two components, namely, base name (here, ‘my_tbl’) and an extension (here, ‘frm’).



  1. The default storage engine used is ____________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    MySQL comes with multiple storage engines. The default storage engine used is ‘MyISAM’. ‘EXAMPLE’ is the stub storage engine, NDB is the storage engine for MySQL Cluster.


  1. Which storage engine is not available in MySQL 5.0?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    All of the storage engines given are available in MySQL versions 5.0 and above, except ‘Falcon’. MySQL supports many storage engines or table handlers that have a specific set of properties.



  1. Which statement is used to remove indexes on tables?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    MySQL provides statements to change the structure of tables. To add or remove the indexes on the existing database tables, the ‘CREATE INDEX’ and ‘DROP INDEX’ tables are used.