title: Problem: Getting different results from SUM queries
body: <p>When I run the below query:</p>
  
  <pre><code>select SUM(t1.total_amount) as one, SUM(t2.total_amount) as two
  from table1 t1, table2 t2;
  </code></pre>
  
  <p>I get these results:</p>
  
  <pre><code>ONE     TWO
  2000    3000
  </code></pre>
  
  <p>But when I run this query:</p>
  
  <pre><code>select SUM(t1.total_amount) as one table1 t1;
  </code></pre>
  
  <p>I get this result:</p>
  
  <pre><code>ONE
  50
  </code></pre>
  
  <p>It looks like the result from the first query is incorrect. Can anybody point me to the right direction?</p>