ORACLE8i有求方差的函数吗?
还有 协方差 标准差以及二次方差的,如果有那可太好了。
分数不多,见笑了

解决方案 »

  1.   

    The following example returns e to the 4th power:SELECT EXP(4) "e to the 4th power" FROM DUAL;e to the 4th power
    ------------------
              54.59815 三角函数:
    The following example returns the sin of 30 degrees:SELECT SIN(30 * 3.14159265359/180)
     "Sine of 30 degrees" FROM DUAL;Sine of 30 degrees
    ------------------
                    .5协方差,标准差自已写一个函数
      

  2.   

    好像没有这样的函数有求平均数的函数吗?没有吧?
    ——不要告诉我avg,那是对一个列求平均值的,而不是一组数
    我想,应该自己做一个函数
      

  3.   

    有的标准差stddev 方差variance
    select max(noon),avg(noon),min(noon),stddev(noon),variance(noon)
    from comfort
    where city='KEENE'