> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/server/reference/sql-functions/special-functions/window-functions/window-frames.md).

# Window Frames

Define subsets of rows for calculation. Window frames specify which rows relative to the current row are included in the window function's calculation.
