title: JDBC SQL SELECT query sum method not behaving properly
body: <p>Hi I have a table with item and price as shown below</p>
  
  <pre><code> item    price
   ABC      5.0
   DEF      6.0  
  </code></pre>
  
  <p>and I am trying to execute it with the following query.</p>
  
  <pre><code>select sum(sign(price)*ceiling(abs(price))) as price, item from product
  </code></pre>
  
  <p>Now when I execute this query staight away in the following way it works shows total as 11.0 in output for both item  </p>
  
  <pre><code>statement.exectuteQuery("select sum(sign(price)*ceiling(abs(price))) as price, item from product")
  </code></pre>
  
  <p>But when I put query in string strangely it does not work and it gives null as output in price column</p>
  
  <pre><code>String qry = "select sum(sign(price)*ceiling(abs(price))) as price, item from product";
  statement.exectuteQuery(qry);
  </code></pre>
  
  <p>Please guide. Thanks in advance.</p>