Wrap-Up b4 In

What Is a Subquery?

A subquery is a query contained within another SQL statement, or a containing statement.

select first_name, last_name, customer_id
from customer
where customer_id = **(select max(customer_id) from customer)**;

Types

Differences by type of result set: