SQL Foundations · Lesson 6 of 8 · 12 min
Subqueries and CTEs
Break hard questions into steps you can read, test and reuse.
A subquery is a query inside another query. Here the inner query works out the average price, and the outer one uses it:
SQL Foundations · Lesson 6 of 8 · 12 min
Break hard questions into steps you can read, test and reuse.
A subquery is a query inside another query. Here the inner query works out the average price, and the outer one uses it: