SQL Server - add/cumulative for last 3 days : <p>Table 1</p>

<p>Amount</p>

<pre><code>10
20
25
40
50
60
70
80
90
100
110
120
130
</code></pre>

<p>Write an sql query to get output as</p>

<pre><code>    07/11/2018  10  
    07/12/2018  20  
    07/13/2018  25  55
    07/14/2018  40  85
    07/15/2018  50  115
    07/16/2018  60  150
    07/17/2018  70  180
    07/18/2018  80  210
    07/19/2018  90  240
    07/20/2018  100 270
    07/21/2018  110 300
    07/22/2018  120 330
    07/23/2018  130 360
</code></pre>

<p>So I want to add the last 3 days amount values and get the sum.</p>
