PostgreSQLAggregate FunctionsSTDDEV_SAMP
STDDEV_POP

STDDEV_SAMPAggregate Functions

VAR_POP

Returns the sample standard deviation.

Syntax

STDDEV_SAMP(expr)

Example

Enter values below to update the example in real time.

salary
samp_stddev
employees
SELECT STDDEV_SAMP(salary) AS samp_stddev FROM employees;