Home » MYSQL » Where Clause » Question
  1. What will be the output of the query given below?
    SELECT *
    FROM Student
    WHERE title=’Monitor’;
    1. All columns don’t belong to table Student
    2. columns and rows belong to table Student
    3. All columns but only those rows which contain ‘Monitor’ as a “title”
    4. All of above
    5. None of these
Correct Option: C

“WHERE” clause is used to filter out unwanted rows therefore in above query only those rows will be selected which contain title as ‘Monitor’.



Your comments will be displayed only after manual approval.