VeloDB Cloud
SQL Manual
Functions
aggregate-functions
STDDEV_SAMP

STDDEV_SAMP

Description

Syntax:

STDDEV SAMP (expr)

This function returns the sample standard deviation of expr.

Example

MySQL > select stddev_samp(scan_rows) from log_statis group by datetime;
+--------------------------+
| stddev_samp(`scan_rows`) |
+--------------------------+
|        2.372044195280762 |
+--------------------------+

Keywords

STDDEV SAMP,STDDEV,SAMP