SQL SHOWING DAY TO DAY IN HAND Transaction...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MrMob
    New Member
    • Jan 2010
    • 27

    SQL SHOWING DAY TO DAY IN HAND Transaction...

    when i group by from the Table it shows this result...

    DATE Amount

    04/01/2009 100
    04/03/2009 200
    04/04/2009 300
    04/05/2009 400
    04/06/2009 500
    04/08/2009 -700
    04/09/2009 800
    04/10/2009 1000
    04/12/2009 200
    04/13/2009 50
    04/14/2009 200
    04/15/2009 300
    04/16/2009 400
    04/17/2009 500

    BUT i need to get the Result as Below...


    DATE Amount Amount

    4/1/2009 100 100
    4/3/2009 200 300
    4/4/2009 300 600
    4/5/2009 400 1000
    4/6/2009 500 1500
    4/8/2009 -700 800
    4/9/2009 800 1600

    and so on...

    that is ... Each day the amount should be added
    for the date (04/04/2009 amount is added as 100+200+300)

    So please help me to solve this Problem..


    Thankyou....... ..
    Last edited by MrMob; Jul 25 '10, 02:16 PM. Reason: not clear Column
Working...