Home » MYSQL » MySQL Subquery » Question
  1. Which operators are used when a subquery returns multiple rows to be evaluated in comparison to the outer query?
    1. OUTER JOIN and INNER JOIN
    2. LEFT JOIN and RIGHT JOIN
    3. IN and NOT IN
    4. EXISTS and NOT EXISTS
    5. None of these
Correct Option: C

When there is a need to evaluate multiple rows in comparison to the outer query, the ‘IN’ and ‘NOT IN’ operators are used. They are used for testing whether a comparison value is present in a set of values.



Your comments will be displayed only after manual approval.