Top : Select Query : SQL Server / T-SQL examples (example source code) Organized by topic

C++
PHP
SQL Server / T-SQL
SQL Server / T-SQL Home »  Select Query   » [  Top  ]   
 



1.  TOP Clause in DELETE Statements
2.  Get the top two rows by using a TOP keyword and specifying the ORDER BY clause with a column name
3.  Get the bottom two rows by using a TOP keyword and specifying the ORDER BY clause
4.  Add the TOP statement: see the first five rows in the result set
5.  Top with descending order
6.  TOP 2 WITH TIES