Technical interview guide
Window Functions
Per-row calculations across a related set of rows — running totals, rankings, and row-over-row comparisons — without collapsing rows like GROUP BY does.
- Read
- 23 min
- Practice MCQs
- 25
- Interview QA
- 25
- Edition
- v3
- Editorial status
- Reviewed
Scope: SQL principles with PostgreSQL 18 examples; vendor-specific behavior must be verified.
Interview QA
Treat each question like a live interview question: answer out loud first (structure, assumptions, tradeoffs), then open the model answer to spot gaps and rehearse a tighter follow-up.
Curated: · Written: · Reviewed:
