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;