VARIANCE_SAMP,VARIANCE_SAMP

Description

Syntax

VAR SAMP (expr)

Returns the sample variance of the expr expression

example

  1. MySQL > select var_samp(scan_rows) from log_statis group by datetime;
  2. +-----------------------+
  3. | var_samp(`scan_rows`) |
  4. +-----------------------+
  5. | 5.6227132145741789 |
  6. +-----------------------+

keyword

VAR SAMP, VARIANCE SAMP,VAR,SAMP,VARIANCE