how to sum tow field at get inline result?
<p>i have tow field for example credit an debit in one table.
and i need to sum them and get result at each line for example :</p>

<pre><code>date          debit   credit  amount
2015/01/01     20       0        20
2015/01/02      0       5        15
2015/01/03      0       30      -15
</code></pre>

<p>i hope you help me to get the amount by a query
thanks</p>