Order Columns : 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   » [  Order Columns  ]   
 



1.  Order criterion may contain more than one column
2.  Identify the columns in the ORDER BY clause by the ordinal position of the column in the SELECT list
3.  Order by two columns