description |
---|
Returns the sample variance of non-NULL records. |
- numeric_expression: The set of records to calculate variance for.
Examples
{% code title="VAR_SAMP example" %}
SELECT VAR_SAMP(transaction_count)
FROM eth.recent_blocks
-- 1.868747683518558
{% endcode %}
- numeric_expression: The set of records to calculate variance for.
Examples
{% code title="VAR_SAMP example" %}
SELECT VAR_SAMP(gas_used)
FROM eth.recent_blocks
-- 5.106086065187043
{% endcode %}
- numeric_expression: The set of records to calculate variance for.
Examples
{% code title="VAR_SAMP example" %}
SELECT VAR_SAMP(gas_used)
FROM eth.recent_blocks
-- 5.106086065187043
{% endcode %}
- numeric_expression: The set of records to calculate variance for.
Examples
{% code title="VAR_SAMP example" %}
SELECT VAR_SAMP(transaction_count)
FROM eth.recent_blocks
-- 1.868747683518558
{% endcode %}
For single input records, VAR_SAMP will return NULL.