Hi,
this is my first question in this site.
I have a database with the following fileds and associated values
areacode dt rainfall
---------------------------
AAA 1/1/2005 10
AAA 2/1/2005 4
AAA 6
. 0
.
.
.
AAA 31/12/2005
SOME BODY HELP ME IN FINDING OUT ROLLING SUM OF RAINFALL
FOR THE WHOLE YEAR ,FOR EVERY FIVE DAYS.
To put it simple ,consider the following data
rainfall rollingsum
1 15
2 20
3 25
4
5
6
7
Also ,i would apprecite on tips how to address the fact that a leap year has 366 days in the above scenario.
this is my first question in this site.
I have a database with the following fileds and associated values
areacode dt rainfall
---------------------------
AAA 1/1/2005 10
AAA 2/1/2005 4
AAA 6
. 0
.
.
.
AAA 31/12/2005
SOME BODY HELP ME IN FINDING OUT ROLLING SUM OF RAINFALL
FOR THE WHOLE YEAR ,FOR EVERY FIVE DAYS.
To put it simple ,consider the following data
rainfall rollingsum
1 15
2 20
3 25
4
5
6
7
Also ,i would apprecite on tips how to address the fact that a leap year has 366 days in the above scenario.