Need to calculated the Moving Range for a set of data without using group by clause. As I am calculating the average value and the previous avg value I need to take
group by