Skip to content
SQL for Data Analysis: Answer Business Questions with PostgreSQL
Text· 5 minMembers-only lesson

Derived tables and CTEs

A subquery in WHERE filters rows. A subquery in FROM builds a table you can query again. When the idea grows, the nested version becomes hard to read: you have to start in the middle and work outwards. A common…

This lesson is for members only

This lesson belongs to the full course

Buy the course once, keep access with no time limit.

Lessons marked "open access" work without an account.

We measure site traffic (GA4, Mixpanel). If you say yes, Microsoft Clarity also records how the public pages are used (clicks, scrolling) and we tune Meta ads. Nothing is stored on your device before you answer, and your choice sticks for 6 months.