Categories
MySQL

MySQL AB :: Follow Up on Rolling Sums – Self Joins vs User Variables

MySQL AB :: Follow Up on Rolling Sums – Self Joins vs User Variables
What about using a user variable to make the rolling sum from the beginning? Something simple enough like this: