Product Solutions Support
Try MemSQL

VAR_SAMP

Aggregate function. Calculates the sample variance value from a set of numbers. VARIANCE returns NULL if there are not matching rows.

VAR_SAMP ( expression )

Arguments

Return Type

A double.

Examples

memsql> select VAR_SAMP(table_rows) from information_schema.tables;
+-----------------+
| std(table_rows) |
+-----------------+
|       2.1500    |
+-----------------+
1 row in set (2.87 sec)
Was this article useful?