title: how to show decimals in sql instead of 0
body: <p>I am trying to get the percent  and it just shows up as zero. I want to show two decimal places such as 0.65
  Here is a piece of the query I am selecting:</p>
  
  <pre><code>select count(numbers)/count(othernumbers) decimal(3,2) as"rate"
  </code></pre>
  
  <p>if I use this it shows up as 0 and gets rid of the rest</p>
  
  <pre><code>select count(numbers)/count(othernumbers) as"rate"
  </code></pre>