D
David McKnight
I would like a query to give me the average of teams opponets strength on a
week to week basis, ie, a team plays 19 weeks schedule each season his opp
at week #1 has a strength of 10, week # 2 = 11, week #3 = 12.
So Week 1 ave opp strength = 10 (10/1)
Week 2 ave opp strenght = 10.5 ((10+11)/2
etc..
My query now is written as :
SELECT [Strength of Schedule-4].*, [Strength of Schedule-4].Home, [Strength
of Schedule-4].Week, ((DAvg("[Avg Of Avg Of Home Modified Score]","Home='" &
[Home] & "' AND Season " & [Season] & " AND Week BETWEEN " & [Week]-19 & "
AND " & [Week]+0))) AS [Opp Margin M-Avg]
FROM [Strength of Schedule-4];
But this gives me a reduntant week and season columns and errors for [Opp
Margin M-Avg].
Note 19 weeks in season, season begins in week 35.
week to week basis, ie, a team plays 19 weeks schedule each season his opp
at week #1 has a strength of 10, week # 2 = 11, week #3 = 12.
So Week 1 ave opp strength = 10 (10/1)
Week 2 ave opp strenght = 10.5 ((10+11)/2
etc..
My query now is written as :
SELECT [Strength of Schedule-4].*, [Strength of Schedule-4].Home, [Strength
of Schedule-4].Week, ((DAvg("[Avg Of Avg Of Home Modified Score]","Home='" &
[Home] & "' AND Season " & [Season] & " AND Week BETWEEN " & [Week]-19 & "
AND " & [Week]+0))) AS [Opp Margin M-Avg]
FROM [Strength of Schedule-4];
But this gives me a reduntant week and season columns and errors for [Opp
Margin M-Avg].
Note 19 weeks in season, season begins in week 35.