SQL
Statistical Aggregates
<div class="nostroke_table"></div>  
|   |   |
|:--|:--------|
| **Description** |The sample variance, which includes Bessel's bias correction. |
| **Formula** | `(sum(x^2) - sum(x)^2 / count(x)) / (count(x) - 1)`, `var_pop(y, x) / (1 - 1 / count(x))` |
| **Alias(es)** | `variance(arg, val)` |