title: Decimal values in SQL for dividing results
body: <p>In SQL, I have <code>col1</code> and <code>col2</code>. Both are integers.</p>
  
  <p>I want to do like:</p>
  
  <pre><code>select col1/col2 from tbl1
  </code></pre>
  
  <p>I get the result <code>1</code> where <code>col1=3</code> and <code>col2=2</code></p>
  
  <p>The result I want is <code>1.1</code></p>
  
  <p>I put <code>round(col1/col2,2)</code>. The result is still 1.</p>
  
  <p>I put <code>decimal(col1/col2,2)</code>. The decimal is not built in function.</p>
  
  <p>How can I do exactly to get 1.1?</p>