Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Problem with built-in CORR function

Re: Problem with built-in CORR function

From: Krzysiek299 <krzysztof.iwanicki_at_gmail.com>
Date: 16 Apr 2006 10:01:07 -0700
Message-ID: <1145206867.081484.132240@e56g2000cwe.googlegroups.com>


>SELECT corr(x1,x2)
>FROM (
>SELECT t1.x x1,t2.x x2
>FROM mytable t1,mytable t2
>WHERE t1.NO = t2.NO AND t1.ID=1 AND t2.ID=2 ORDER BY t1.NO
>);

this is exactly what I needed. it calculates correlation correctly thanks! Received on Sun Apr 16 2006 - 12:01:07 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US