Home » MYSQL » MySQL Subquery » Question
  1. Which operators test whether a subquery returns any rows?
    1. ABSENT
    2. IN and NOT IN
    3. EXISTS and NOT EXISTS
    4. PRESENT
    5. None of these
Correct Option: C

The operators ‘EXISTS’ and ‘NOT EXISTS’ operators only test whether a subquery returns any rows. If it returns a row, ‘EXISTS’ results into true and ‘NOT EXISTS’ results into false.



Your comments will be displayed only after manual approval.