![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)
SQL SERVER - How to Retrieve TOP and BOTTOM Rows Together using T-SQL - SQL Authority with Pinal Dave
![sql server - MS Sql Query slows down when adding just one more row to LIMIT keyword - Stack Overflow sql server - MS Sql Query slows down when adding just one more row to LIMIT keyword - Stack Overflow](https://i.stack.imgur.com/J4XSO.png)
sql server - MS Sql Query slows down when adding just one more row to LIMIT keyword - Stack Overflow
![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/i/b/unionall.gif)
SQL SERVER - How to Retrieve TOP and BOTTOM Rows Together using T-SQL - SQL Authority with Pinal Dave
![SQL SERVER - SELECT TOP Shortcut in SQL Server Management Studio (SSMS) - SQL Authority with Pinal Dave SQL SERVER - SELECT TOP Shortcut in SQL Server Management Studio (SSMS) - SQL Authority with Pinal Dave](https://blog.sqlauthority.com/i/b/shortcut1.jpg)