I'm looking to do the exact same moving average from this post: Average of last 4 runs of a product
but now on SQL Server 2008, which doesn't support the extended window aggregate functions.
Is there an alternative I can look into using to create the same solution in SQL Server 2008?
Best Answer