title: Select top 3 values from a table in MySQL
body: <p>I have a table <code>newscount</code> in which there are three column <code>id</code>, <code>postid</code>, <code>count</code>. An example of the data is:</p>
  
  <pre><code>id | postid | count 
  -------------------
  2  | 6      | 14 
  3  | 8      | 25
  4  | 9      | 9
  5  | 10     | 16
  6  | 11     | 15
  </code></pre>
  
  <p>I want to select 3 <code>postid</code>which have maximum count. In the example above it should show 8, 10, 11.</p>