stddev_samp()

Returns the standard deviation of values in a field. Accepts measure fields as input. This function does not accept expressions.

stddev_samp() follows this syntax.

SELECT stddev_pop(field1, field2)
FROM dataset;