Files
doris/docs/en/sql-reference/sql-functions/aggregate-functions/stddev.md
ZhangYu0123 1d9b3aeee7 [Doc] Repair document format (#4336)
The error format '##keyword' in a lot of docs. This pr is to repair document format. #4335
2020-08-13 23:39:41 +08:00

1.4 KiB

title, language
title language
STDDEV,STDDEV_POP en

STDDEV,STDDEV_POP

Description

Syntax

stddev (expl)

Returns the standard deviation of the expr expression

example

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

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

keyword

STDDEV,STDDEV_POP,POP