I have a table Lottery_details which has these rows:
I want to find SUM of count field with the previous count field value of same <
count