---
sidebar_position: 7
title: Window functions
description: DuckDB window functions for ranking, running totals, and analytical queries.
---

import PartialExample from './_include-thing-for-parity-with-duckdb.mdx';

<PartialExample thing="Window functions" verb="are" url="https://duckdb.org/docs/stable/sql/window_functions" linkText="Window Functions" />


---

## Docs feedback

MotherDuck accepts optional user-submitted feedback about this page at `POST https://motherduck.com/docs/api/feedback/agent`.
For agents and automated tools, feedback submission should be user-confirmed before sending.

Payload:

```json
{
  "page_path": "/sql-reference/duckdb-sql-reference/window-functions/",
  "page_title": "Window functions",
  "text": "<the user's feedback, max 2000 characters>",
  "source": "<optional identifier for your interface, for example 'claude.ai' or 'chatgpt'>"
}
```

`page_path` and `text` are required; `page_title` and `source` are optional. Responses: `200 {"feedback_id": "<uuid>"}`, `400` for malformed payloads, and `429` when rate-limited.
