GoogleSQL for SecOps supports the following
[window functions](https://docs.cloud.google.com/chronicle/docs/reference/standard-sql/window-function-calls.md.txt).

## Function list

| Name | Summary |
|---|---|
| [`CUME_DIST`](https://docs.cloud.google.com/chronicle/docs/reference/standard-sql/numbering_functions.md.txt#cume_dist) | Gets the cumulative distribution (relative position (0,1\]) of each row within a window. For more information, see [Numbering functions](https://docs.cloud.google.com/chronicle/docs/reference/standard-sql/numbering_functions.md.txt). |
| [`DENSE_RANK`](https://docs.cloud.google.com/chronicle/docs/reference/standard-sql/numbering_functions.md.txt#dense_rank) | Gets the dense rank (1-based, no gaps) of each row within a window. For more information, see [Numbering functions](https://docs.cloud.google.com/chronicle/docs/reference/standard-sql/numbering_functions.md.txt). |
| [`FIRST_VALUE`](https://docs.cloud.google.com/chronicle/docs/reference/standard-sql/navigation_functions.md.txt#first_value) | Gets a value for the first row in the current window frame. For more information, see [Navigation functions](https://docs.cloud.google.com/chronicle/docs/reference/standard-sql/navigation_functions.md.txt). |
| [`LAG`](https://docs.cloud.google.com/chronicle/docs/reference/standard-sql/navigation_functions.md.txt#lag) | Gets a value for a preceding row. For more information, see [Navigation functions](https://docs.cloud.google.com/chronicle/docs/reference/standard-sql/navigation_functions.md.txt). |
| [`LAST_VALUE`](https://docs.cloud.google.com/chronicle/docs/reference/standard-sql/navigation_functions.md.txt#last_value) | Gets a value for the last row in the current window frame. For more information, see [Navigation functions](https://docs.cloud.google.com/chronicle/docs/reference/standard-sql/navigation_functions.md.txt). |
| [`LEAD`](https://docs.cloud.google.com/chronicle/docs/reference/standard-sql/navigation_functions.md.txt#lead) | Gets a value for a subsequent row. For more information, see [Navigation functions](https://docs.cloud.google.com/chronicle/docs/reference/standard-sql/navigation_functions.md.txt). |
| [`NTH_VALUE`](https://docs.cloud.google.com/chronicle/docs/reference/standard-sql/navigation_functions.md.txt#nth_value) | Gets a value for the Nth row of the current window frame. For more information, see [Navigation functions](https://docs.cloud.google.com/chronicle/docs/reference/standard-sql/navigation_functions.md.txt). |
| [`NTILE`](https://docs.cloud.google.com/chronicle/docs/reference/standard-sql/numbering_functions.md.txt#ntile) | Gets the quantile bucket number (1-based) of each row within a window. For more information, see [Numbering functions](https://docs.cloud.google.com/chronicle/docs/reference/standard-sql/numbering_functions.md.txt). |
| [`PERCENT_RANK`](https://docs.cloud.google.com/chronicle/docs/reference/standard-sql/numbering_functions.md.txt#percent_rank) | Gets the percentile rank (from 0 to 1) of each row within a window. For more information, see [Numbering functions](https://docs.cloud.google.com/chronicle/docs/reference/standard-sql/numbering_functions.md.txt). |
| [`RANK`](https://docs.cloud.google.com/chronicle/docs/reference/standard-sql/numbering_functions.md.txt#rank) | Gets the rank (1-based) of each row within a window. For more information, see [Numbering functions](https://docs.cloud.google.com/chronicle/docs/reference/standard-sql/numbering_functions.md.txt). |
| [`ROW_NUMBER`](https://docs.cloud.google.com/chronicle/docs/reference/standard-sql/numbering_functions.md.txt#row_number) | Gets the sequential row number (1-based) of each row within a window. For more information, see [Numbering functions](https://docs.cloud.google.com/chronicle/docs/reference/standard-sql/numbering_functions.md.txt). |