Hi

I'm doing a simple query using the function STD but I'm getting zeros as
answer. I know that zero is a perfectly good answer for standart
deviation but in this case I should get some positive values :-)

Is there something wrong with this function ?

My sql string is the folowing and I'm using version 3.22.32.

SELECT ROUND(ESTACOES.LAT_I,1) AS LAT, ROUND(ESTACOES.LON_I,1) AS LON,
ROUND(AVG(ESTACOES.PROF_I),1) AS PRF,
ROUND(AVG(ESTACOES_REC.RECRUTAS),1) AS REC, STD(ESTACOES_REC.RECRUTAS)
AS STDEV
FROM ESTACOES, ESTACOES_REC
WHERE ESTACOES.CRUZEIRO=ESTACOES_REC.CRUZEIRO AND
ESTACOES.ESTACAO=ESTACOES_REC.ESTACAO AND ESTACOES.CRUZEIRO!='2420982'
GROUP BY LAT,LON

Thanks

EJ


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to