/ Published in: SQL

A few examples of the STDDEV function.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
SELECT STDDEV(fees_required) FROM student; SELECT STDDEV(DISTINCT fees_required) FROM student; SELECT enrolment_date, TO_CHAR(enrolment_date, 'MON') AS enrolment_mth, STDDEV(fees_required) OVER (ORDER BY TO_CHAR(enrolment_date, 'MON')) AS stdev_val FROM student;
URL: http://www.databasestar.com/oracle-stddev/
Comments
