title: Return Zero if count(*) is NULL
body: <p>How can I modify my query to return 0 if count(*) is NULL?</p>
  
  <pre><code>select monthname(timestamp), year(timestamp), count(*) 
  from largehits 
  where largeID = someid 
      and (month(timestamp)&lt;=somemonth 
      and month(timestamp)&gt;=somemonth 
      and year(timestamp)&lt;=someyear 
      and year(timestamp)&gt;=someyear ) 
  group by month(timestamp), year(timestamp) 
  order by timestamp asc
  </code></pre>
  
  <p>Thanks!</p>