mysql table slalry:
aid year slalry
1 2000 1000
2 2001 2000
3 2002 3000
4 2003 4000
h
ow to get result as :
aid year slalry
1 2000 1000
2 2001 3000
3 2002 6000
4 2003 10000