![How to Get Top N Records Per Group? - Ranking Function - Interview Question of the Week #156 - SQL Authority with Pinal Dave How to Get Top N Records Per Group? - Ranking Function - Interview Question of the Week #156 - SQL Authority with Pinal Dave](https://blog.sqlauthority.com/wp-content/uploads/2018/01/top2records.png)
How to Get Top N Records Per Group? - Ranking Function - Interview Question of the Week #156 - SQL Authority with Pinal Dave
![How to Get Top N Records Per Group? - Ranking Function - Interview Question of the Week #156 - SQL Authority with Pinal Dave How to Get Top N Records Per Group? - Ranking Function - Interview Question of the Week #156 - SQL Authority with Pinal Dave](https://blog.sqlauthority.com/i/d/top2records1.png)
How to Get Top N Records Per Group? - Ranking Function - Interview Question of the Week #156 - SQL Authority with Pinal Dave
![sql server - How to select top 10 records from each category - Database Administrators Stack Exchange sql server - How to select top 10 records from each category - Database Administrators Stack Exchange](https://i.stack.imgur.com/pvjuI.png)
sql server - How to select top 10 records from each category - Database Administrators Stack Exchange
![SQL SERVER - How to Retrieve TOP and BOTTOM Rows Together using T-SQL - SQL Authority with Pinal Dave SQL SERVER - How to Retrieve TOP and BOTTOM Rows Together using T-SQL - SQL Authority with Pinal Dave](https://blog.sqlauthority.com/wp-content/uploads/2008/03/unionall1.gif)