SQL Interview Questions Part 2 | Advanced Level | Data Engineering Live Session #6
π₯ 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 formatsNo download links available.