> ## Documentation Index
> Fetch the complete documentation index at: https://docs.meetsilicon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SQL templates

> Copy-paste SQL patterns for common table calculations like running totals and rankings

> [!TIP]
>
> Looking for a simpler alternative to raw SQL? Check out the built-in [row functions](https://docs.meetsilicon.com/explore/table-calculations/functions/row-functions.md) and [pivot functions](https://docs.meetsilicon.com/explore/table-calculations/functions/pivot-functions.md) -- they handle common patterns like accessing previous rows and working across pivot columns without needing to write window function SQL.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.