Back to Developer Roadmap

Subqueries

src/data/roadmaps/postgresql-dba/content/subqueries@_Y-omKcWZOxto-xJka7su.md

4.0746 B
Original Source

Subqueries

A subquery is a query nested inside another query, often referred to as the outer query. Subqueries are invaluable tools for retrieving information from multiple tables, performing complex calculations, or applying filter criteria based on the results of other queries. They can be found in various parts of SQL statements, such as SELECT, FROM, WHERE, and HAVING clauses.

Learn more from the following resources: