ORDER BY – SQL Server Syntax Example: ORDER BY – T-SQL Example

ORDER BY – SQL Server Syntax Example: ORDER BY – T-SQL Example Purpose: – Illustrates the SQL Server syntax for ORDER BY. SYNTAX: SELECT [ ALL | DISTINCT ] [TOP ( expression ) [PERCENT] [ WITH TIES ] ] column_list [ INTO new_table ] [ FROM { table_source } [ ,…n ] ] [ WHERE select_condition] [ GROUP BY ] [ HAVING search_condition ] [ ORDER BY {order_by_expression [ COLLATE collation_name ] [ ASC | DESC... [Read More...]