Window functions, CTEs, query plans, and performance tuning.
Master recursive Common Table Expressions to query organizational hierarchies, product categories, and any tree-structured data with practical, real-world examples.
Master enterprise-scale data reshaping with dynamic pivots, performance optimization, and integration patterns for modern data architectures. Includes real-world examples and advanced troubleshooting techniques.
Master SQL's PIVOT and UNPIVOT operations to transform row data into columns and vice versa. Learn dynamic pivoting, real-world applications, and troubleshooting tips for reshaping your data effectively.
Master the art of reading database execution plans to diagnose performance bottlenecks and optimize complex queries. Learn advanced techniques for analyzing costs, operators, and optimization patterns across different database systems.
Transform repetitive SQL tasks into efficient, maintainable database objects. Learn to create stored procedures and functions that save time, reduce errors, and organize your SQL code professionally.
Master the essential concepts of database transactions, isolation levels, and locking mechanisms. Learn to build robust, concurrent applications that maintain data integrity under load with practical examples and real-world scenarios.
Master the advanced SQL JOIN patterns that separate expert practitioners from the rest. Learn self joins for hierarchical data, anti joins for exclusion logic, and semi joins for existence checks.
Master JSON and array operations in SQL databases. Learn to query, extract, and manipulate semi-structured data using native SQL functions and JSONPath expressions.
Master sophisticated SQL techniques for user behavior analysis including cohort tracking, conversion funnels, and retention metrics that drive product decisions at data-driven companies.
Master the art and science of database performance optimization through strategic indexing, query rewriting techniques, and systematic optimization approaches that transform slow queries into lightning-fast operations.
Stop writing two-step workarounds and start writing SQL that answers layered questions in a single statement. This lesson teaches you exactly how subqueries work, where to place them, and how correlated subqueries let you compare each row against its own group — with real examples you can run immediately.
Temporal data is where SQL skills separate practitioners from experts. This lesson teaches you to write production-quality queries for time-series aggregations, gap-filling, point-in-time lookups, and Slowly Changing Dimensions — the four categories of temporal problems every serious data team faces. Leave with patterns you can apply immediately.