title: Can SQL SUM() function take an expression as argument?
body: <p>I'm using SQLite database and I'm wondering whether I'm allowed to write queries as follows:</p>
  
  <pre><code>SELECT SUM(column1 * column2)
  FROM my_table;
  </code></pre>
  
  <p>I googled but references say that SUM function is has the following format:</p>
  
  <pre><code>SUM([DISTINCT|ALL] column)
  </code></pre>
  
  <p>And my question is: does <code>column</code> mean actually column or does it allow expressions (like above) too?</p>