Mysql miscellaneous


  1. Which of the following statements is/are correct?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    All of above


  1. Which of the following operators is/are used in “Condition Evaluation”?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    All of above



  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 AS emp INNER JOIN department AS 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’ by using “AS” keyword.



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