Home » MYSQL » Where Clause » Question
  1. What will be the output of the query given below?
    SELECT Id, FirstName, LastName
    FROM Student
    WHERE title=’Monitor’;
    1. Columns mention with “SELECT” clause and only those rows which contain ‘Monitor’ as a “title”
    2. All columns
    3. Only those columns which are mention with “SELECT” clause
    4. All of above
    5. None of these
Correct Option: A

“WHERE” clause is used to filter out unwanted rows and “SELECT” clause is used to select columns from table.



Your comments will be displayed only after manual approval.