↑↓ select ↵ open ⌫ change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Functions / Aggregate Functions

Computes the sample variance of the input values (square of the sample standard deviation).

Reading PG 18current·documented in 21 of 27 versions, 8.2 to 20

Signatures & examples

var_samp ( numeric_type ) → double precision for real or double precision, otherwise numeric
Computes the sample variance of the input values (square of the sample standard deviation).
Version history 2
  1. 12 → 13 changed
  2. 8.1 → 8.2 added

Definition snapshot: b7bd9cda · English manual source