Versions available for this page: CUBRID 8.2.1 | CUBRID 8.3.0 | CUBRID 8.3.1 | CUBRID 8.4.0 | CUBRID 8.4.1 | CUBRID 8.4.3 | CUBRID 9.0.0 |
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.
SELECT STDDEV(gold)
FROM participant
WHERE nation_code = 'KOR';
Result : 2