![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 - 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 - select rows mysql order by custom value From the bottom of the table to the top of the table - Stack Overflow sql - select rows mysql order by custom value From the bottom of the table to the top of the table - Stack Overflow](https://i.stack.imgur.com/YKWsS.jpg)
sql - select rows mysql order by custom value From the bottom of the table to the top of the table - Stack Overflow
![How to get Top / Bottom N Records from SQL Server Table in SQL Server - TSQL Tutorial Part 113 - YouTube How to get Top / Bottom N Records from SQL Server Table in SQL Server - TSQL Tutorial Part 113 - YouTube](https://i.ytimg.com/vi/-jHjTQ2vHmk/mqdefault.jpg)
How to get Top / Bottom N Records from SQL Server Table in SQL Server - TSQL Tutorial Part 113 - YouTube
![SQL improvements in Snowflake: Now MIN_BY() and MAX_BY() simplify the search for data associated to the top/bottom rows : r/snowflake SQL improvements in Snowflake: Now MIN_BY() and MAX_BY() simplify the search for data associated to the top/bottom rows : r/snowflake](https://preview.redd.it/sql-improvements-in-snowflake-now-min-by-and-max-by-v0-gz3pit42ytda1.jpg?width=640&crop=smart&auto=webp&s=cb650e8c2d9d3562d0c20cbbdcc436769400aa04)
SQL improvements in Snowflake: Now MIN_BY() and MAX_BY() simplify the search for data associated to the top/bottom rows : r/snowflake
![syntax highlighting - Why do sql-mode and sql-interactive-mode not highlight strings the same way? - Emacs Stack Exchange syntax highlighting - Why do sql-mode and sql-interactive-mode not highlight strings the same way? - Emacs Stack Exchange](https://i.stack.imgur.com/mzTrm.png)