Technical interview guide
Aggregations & GROUP BY
Collapsing many rows into one summary row per group — counts, sums, and averages — plus the HAVING clause that filters groups.
- Read
- 22 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:
