title: select distinct count(id) vs select count(distinct id)
body: <p>I'm trying to get distinct values from a table. When I ran <code>select distinct count(id) from table</code> I got over a million counts. However if I ran <code>select count(distinct id) from table</code> I've got only around 300k counts. What was the difference of the two queries?</p>
  
  <p>Thanks</p>