The STDDEV function calculates the standard deviation of a given expression.
STDDEV( [DISTINCT | UNIQUE | ALL] expression )
The following is an example that returns the standard deviation of the number of gold medals that Korea won in the Olympic Games from 1988 to 2004.
WHERE nation_code = 'KOR';
Result : 2