title: subtract values in sqlite
body: <p>I want to subtract values of two sums of two columns on the same table. Ej:</p>
  
  <pre><code>select DOMAINID, sum(MAXIMO), sum(MINIMO)
  from TU_MEMORIA_SERVIDOR_HIS;
  
  APLICACION|SUM(MAX) |SUM (MIN)
  APLICACION|177862176|175412792
  </code></pre>
  
  <p>So that the output looks like this:</p>
  
  <pre><code>APLICACION|SUM(MAX) |SUM(MAX)-SUM(MIN)
  APLICACION|177862176|2449384
  </code></pre>
  
  <p>Thank you!</p>