My query is I have Name column, Amount column, month column.
example if name is Sandeep he is having amount 90 in month Jan like below
Name Amount month new column
Sandeep 90 Jan Jan(amount)=90
Sandeep 100 Feb. (jan+feb)amount=190
Sandeep 120 March (jan+feb+march)=310
Mandeep 70 April (0+0+0+April)=70
Mandeep 20 May (0+0+0+70+20)=90
I want the new column with the same format as above using MySQL query