I have a table like that:
In this table,artist_id
stands for a particular singer, Ds
is a date(from 2015 Mar 1st to the end of Apr) and like
is how many people liked this singer's songs in this particular day.
I want to get the accumulated value of like
, for example, in the day 20150303, the value will be the sum of original value of 20150301 and 20150302 and 20150303.
How can I make it?