Back to Browse

SQL Interview Questions Part 2 | Advanced Level | Data Engineering Live Session #6

207 views
Streamed live on Apr 8, 2026
57:46

πŸ”₯ We're BACK with Part 2 of SQL Interview Questions! Session 6 is the direct continuation of Session 5 β€” if you haven't watched that yet, go watch it first. Today we go even DEEPER with harder, more complex questions that are actually asked at top companies. ───────────────────────────────────────── πŸ“Œ WHAT WE SOLVE IN THIS SESSION: ───────────────────────────────────────── πŸ”₯ ADVANCED Window Function Questions: βœ… Find customers with purchases on 3 consecutive days βœ… Calculate session gaps between user events βœ… LAG/LEAD for month-over-month growth comparisons πŸ” Recursive CTE Questions: βœ… Build an org chart β€” find all reports under a manager βœ… Traverse hierarchical data (Bill of Materials) βœ… Recursive date series generation πŸ”— Advanced JOIN Questions: βœ… Detect duplicate transactions using SELF JOIN βœ… Many-to-many relationships with bridge tables βœ… Anti-joins for gap analysis πŸ“Š Complex GROUP BY Questions: βœ… Monthly user retention rate calculation βœ… Day-over-day & week-over-week active users βœ… Cohort analysis using GROUP BY + CASE πŸ”€ Advanced SQL Patterns: βœ… PIVOT rows to columns β€” dynamic monthly sales βœ… UNPIVOT for normalizing wide tables βœ… CASE WHEN for conditional aggregation tricks

Download

0 formats

No download links available.

SQL Interview Questions Part 2 | Advanced Level | Data Engineering Live Session #6 | NatokHD