Murach's Oracle SQL and PL/SQL
How to code subqueries
This chapter teaches you how to code subqueries. A subquery is a SELECT statement that's coded within another SQL statement, allowing you to do more complex queries than you could otherwise.
|
|
|
|
How to use subqueries |
180 |
|
How subqueries compare to joins |
182 |
|
|
How to use subqueries with the IN operator |
184 |
|
How to compare the result of a subquery with
an expression |
186 |
|
How to use the ALL keyword |
188 |
|
How to use the ANY and SOME keywords |
190 |
|
How to code correlated subqueries |
192 |
|
How to use the EXISTS operator |
194 |
|
|
How to code subqueries in the FROM clause |
196 |
|
How to code subqueries in the SELECT clause |
198 |
|
|
A complex query that uses subqueries |
200 |
|
A procedure for building complex queries |
202 |
|
|
How to code a subquery factoring clause |
204 |
|
How to code a hierarchical query |
206 |
|
 |
|
|
|
|
© Copyright 1998-2009 Mike
Murach & Associates, Inc. All rights reserved.
|