VAR_POP() OVER ...

All functions > WINDOW FUNCTION > VAR_POP() OVER ...

Returns the population variance over the window frame.

Syntax

Diagram(
  Sequence(
    Terminal("VAR_POP"),
    Terminal("("),NonTerminal('expr'),Terminal(")"),
    Terminal("OVER"),
    Terminal("("),
    NonTerminal("over_clause"),
    Terminal(")"),
  )
)
ParameterTypeRequiredDescription
exprEXPRESSIONYesNumeric expression to compute variance of
over_clauseOVER CLAUSEYesOVER (PARTITION BY ... ORDER BY ... [FRAME ...])

Notes

  • Computes population variance (divides by N) over a window of rows
  • NULL values are ignored in the calculation
Last update at: 2026/03/03 16:47:38
Last updated: 2026-03-03 16:48:19