I have below dataset
I'm looking for an SQL server query to get below output that will calculate previous sales based on previous draw number for the same day
I have below dataset
I'm looking for an SQL server query to get below output that will calculate previous sales based on previous draw number for the same day


You can use
LAGto do this.