Picks up exactly where a SQL basics course ends and covers subqueries, common table expressions, and window functions in depth, including the specific bugs that silently produce wrong answers in production, like the NOT IN and NULL trap. Built on a real five-table relational database with genuine foreign key relationships, delivered as both SQLite and CSVs. Covers scalar and correlated subqueries, recursive CTEs, ranking and offset window functions, frame clauses, and a practical decision guide for choosing the right tool. Closes with two portfolio projects producing polished, presentation-ready analytical queries.

Rutvik Acharya
Principal Data Scientist
Atlassian
Write scalar, correlated, and derived-table subqueries, and avoid the NOT IN / NULL trap that silently breaks queries
Refactor nested subqueries into readable CTEs, including recursive CTEs for date series and hierarchical data
Use ranking functions, LAG/LEAD, and frame clauses to solve "top N per group" and trend questions directly
Choose confidently between a subquery, a CTE, and a window function for a given problem
Analysts and engineers comfortable with basic SQL who want to write genuinely advanced queries
Anyone who has been burned by a query that silently returned the wrong answer
Candidates preparing for SQL-heavy technical interviews, where window functions are heavily tested
Analysts who want a portfolio-ready ranking report and trend analysis built entirely in SQL
CERTIFICATION


FAQ