title: How to get the top 5 username's with highest values using SQL Server
body: <p><img src="https://i.stack.imgur.com/9L699.jpg" alt="query">  I wish to get the top 5 users without repeating the usernames using SQL Server.
  I have the following code to count the id's that I use in another website.</p>
  
  <pre><code>SELECT follow_id,count(id) AS cnt FROM table 
  GROUP BY follow_id ORDER BY cnt DESC  LIMIT 10
  </code></pre>