Mysql miscellaneous


  1. Which command is used to create “Temporary tables” in Mysql?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: E

    “Temporary Tables” are output format of any query.


  1. What is the use of “VIEW” in Mysql?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    All of above



  1. Is there any error in this query?
    SELECT emp.emp_id, 
    emp.fname, emp.lname, dep.name
    FROM employee emp INNER JOIN department dep
    ON emp.dept_id = emp.dept_id;











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    There will be no error in the query, as table name “employee” is replaced by ‘e’ and table name “department” is replaced by‘d’.


  1. In the following query, “Employee_1” belongs to which category of table in Mysql?
    CREATE VIEW Employee_1 AS
    SELECT firstname, lastname, Employee_id FROM Employee;











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    “CREATE VIEW” creates “Virtual tables” only.



  1. What is the use of “VIEW” in Mysql?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    All of above