Skip to content
Tech Interview Prep

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.

  • Overview

    The Window Functions guide: how it works, the trade-offs interviewers ask about, and the mistakes to avoid.

    3 min read

  • Window Functions Interview Q&A

    Interview questions to answer out loud first, then compare with a model answer.

    25 Q&A

  • Window Functions MCQs

    Multiple-choice checks with five options and an explanation for every answer.

    25 MCQs