Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

query avg and stdev on range of rows 1

Status
Not open for further replies.

Trusts

Programmer
Feb 23, 2005
268
US
hi all,

I've been trying to drum up a way to calculate the average and standard deviation -- for the last 20 records. The source data has about a thousand records, essentially I am trying to get the query to produce a 20 day moving average and standard deviation. I'm kinda stuck, any ideas?

Thanks,
KB
 
How are ya Trusts . . .

How about a [blue]Sum Query?[/blue] . . . Avg & StdDev are directly available! . . .

Calvin.gif
See Ya! . . . . . .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top