Oracle Subqueries
Version 21c

General Information
Library Note Morgan's Library Page Header
ACE Director Alum Daniel Morgan, founder of Morgan's Library, is scheduling complimentary technical Workshops on Database Security for the first 30 Oracle Database customers located anywhere in North America, EMEA, LATAM, or APAC that send an email to asra_us@oracle.com. Request a Workshop for your organization today.
Purpose Subqueries, in Oracle, are nothing more than queries within queries and they can be present in the SELECT, FROM, WHERE, GROUP BY, HAVING, and ORDER BY clauses. Subqueries can not only be used essentially anywhere they come in a wide number of variations many of which are named such as SIMPLE, CORRELATED, SCALAR, INLINE, and NESTED.

Examples of subqueries can be found throughout the Library but the following links point to places in the Library where you are going to find specific examples of subquery usage that should acquaint you with most of the constructs.

Related Topics
EXISTS Condition
Inline Views
Membership Conditions (IN and NOT IN)
SELECT Statements
What's New In 21c
What's New In 23c

Morgan's Library Page Footer
This site is maintained by Dan Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2023 Daniel A. Morgan All Rights Reserved
  DBSecWorx