All pages
Powered by GitBook
1 of 1

Loading...

STDDEV_SAMP

Calculate sample standard deviation. This function computes the standard deviation assuming the set of values represents a sample of the population.

Syntax

STDDEV_SAMP(expr)

Description

Returns the sample standard deviation of expr (the square root of ).

It is an , and so can be used with the clause.

STDDEV_SAMP() can be used as a .

STDDEV_SAMP() returns NULL if there were no matching rows.

This page is licensed: GPLv2, originally from

VAR_SAMP()
aggregate function
GROUP BY
window function
fill_help_tables.sql