Professional Documents
Culture Documents
By Diksha Nagpal
Introduction
• A subquery is a nested query where the result of one query can be used
in another query via relational operator or Aggregation Functions.
And a subquery must be enclosed with in parentheses and contain only
one column in the Select clause if used in where clause.
An Order By Clause is not allowed in a subquery. And this can be
nested within other subqueries. Subquries are used in Where, Having, from
and in Select clauses.
Syntax