Multiple choice technology mainframe

Subquery can be included in :

  1. WHERE clause

  2. HAVING clause

  3. Either of the above

  4. None of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In SQL, a subquery (nested query) can be placed in several clauses, including the WHERE clause to filter rows and the HAVING clause to filter groups. Since both options are valid, 'Either of the above' is correct.