title: Calculating SQL RunningTotal column
body: <p>I have a table like this:
  <img src="https://i.stack.imgur.com/nk38x.png" alt="enter image description here"></p>
  
  <p>I want RunningTotal column should be calculated as like:
  Balance=Deposit+Balance and Withdraw-Balance on each row for example I want RunningTotal table must be like this:</p>
  
  <pre><code>    AccountNo       Deposit   Withdraw    RunningTotal
  ---------------    --------    --------    --------------
      2014002         1000         0         1000
      305002            0         500        500
      50021           2500        100        2900
      54201           6000         0         8900
  </code></pre>
  
  <p>Help me!</p>