Select Query


  1. What will be the output of a query given below?
    SELECT  * FROM Employee
    WHERE Employee_id=1;











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    Clause “WHERE” is also used, which tell the compiler to show only that rows which belong to Employee_id=1.


  1. What will be the output of a query given below?
    SELECT *
    FROM Employee;











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    “SELECT” clause is used to show all rows or columns.



  1. What is the meaning of “SELECT” clause in Mysql?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    Show me all Columns and rows


  1. Which of the following clause is evaluated in the last by database server?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    “SELECT” clause is used to show all rows or columns therefore it evaluated at last.



  1. Is there any error in executing the following query?
    SELECT USER (),
    VERSION (), DATABASE ();











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    Clause “FROM” is not necessary when we used “Built in” function with “SELECT” clause.