CHAPTER 13Subqueries and Set Operators

Exam Objectives

In this chapter you will learn to

• 051.7.1 Define Subqueries

• 051.7.2 Describe the Types of Problems That the Subqueries Can Solve

• 051.7.3 List the Types of Subqueries

• 051.7.4 Write Single-Row and Multiple-Row Subqueries

• 051.8.1 Describe Set Operators

• 051.8.2 Use a Set Operator to Combine Multiple Queries into a Single Query

• 051.8.3 Control the Order of Rows Returned

The previous chapters have dealt with the SELECT statement in considerable detail, but in every case the SELECT statement has been a single, self-contained command. This chapter shows how two or more SELECT commands can be combined into one statement. The first technique is the use of subqueries. A subquery is a SELECT ...

Get OCA/OCP Oracle Database 11g All-in-One Exam Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.