Can the query output be sorted by multiple columns in ms sql server?



Can the query output be sorted by multiple columns in ms sql server?..

Answer / Kamna Varshney

Yes, you can sort the query output by multiple columns in MS SQL Server using the ORDER BY clause with multiple column names separated by commas.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

what is normalization? Explain different levels of normalization? : Sql server database administration

1 Answers  


Why are you getting errors when creating a new odbc dsn?

1 Answers  


there is a table having two columns no and name and the data is 1 A 2 B 3 C write a query that will result a horizontal output A,B,C

9 Answers   tdfc, vsworx,


do you know how to configure db2 side of the application? : Sql server database administration

0 Answers  


What is the STUFF function and how does it differ from the REPLACE function?

2 Answers  


How do you manipulate data?

1 Answers  


What is triggers and its types?

1 Answers  


What are filegroups in sql server?

1 Answers  


What is difference between getdate and sysdatetime in sql server 2008?

1 Answers  


What is Index Segmentation ?

1 Answers   TCS,


Why do we need normalization?

1 Answers  


Tell me in brief how sql server enhances scalability of the database system?

1 Answers  


Categories