Home » MYSQL » Select Query » Question
  1. What will be the output of a query given below?
    SELECT  * FROM Employee
    WHERE Employee_id=1;
    1. Show all columns and rows
    2. Shows only columns Employee_id
    3. Show all columns but only those rows which belongs to Employee_id=1
    4. All of above
    5. None of these
Correct Option: C

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



Your comments will be displayed only after manual approval.