MySQL Forums
Forum List  »  General

Re: averaging with multiple ranges
Posted by: ian Butterworth
Date: December 07, 2009 05:32AM

Just thought I'd add the basic 'one-off average' query to aid any help.

SELECT FORMAT(10*LOG10(AVG(POW(10,(meas/10)))),1) As 'AVmeas' FROM timehistory
WHERE date_stamp BETWEEN @start AND @end;

Options: ReplyQuote


Subject
Written By
Posted
Re: averaging with multiple ranges
December 07, 2009 05:32AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.