The STDDEV function returns the statistical standard deviation of all values in the given expression
STDDEV(expression) Is a numeric expression. Aggregate functions and subqueries are not permitted. expression is an expression of the exact numeric or approximate numeric data type category, except for the bit data type.
STDDEV(table.intColumn)
SELECT STDDEV(royaltyPayment) from Accounts;