Reputation: 20088
I'm trying to subtract the Yesterday Count by today count using startDate and group by id.
Expected result is
id startDate count newColumn
xyz Yesterday date 46 40(yesterday-today)
xyz Today date 6 today-nextday
Upvotes: 2
Views: 1308