How to sort query output in descending order in ms sql server?



How to sort query output in descending order in ms sql server?..

Answer / Abhijeet Dubey

Add the ORDER BY clause with the DESC keyword at the end of your SELECT statement. For example: SELECT column_name FROM table_name ORDER BY column_name DESC;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

What are different types of statements that are supported by sql?

1 Answers  


Why do we use stored procedures in sql server?

1 Answers  


i have made a project i vb.net n created a .exe of it after installing it in to any pc, the database (sql express) is not geting accesed i.e the aplication cuts the link of the database, so plz help in this matter.

1 Answers  


How can you set the threshold at which sql server will generate keysets asynchronously?

1 Answers  


Write the Syntax for Cursors.

2 Answers   CarrizalSoft Technologies, HP,


System variable and temporary variables

1 Answers   Wipro,


Explain optimistic and pessimistic concurrency?

1 Answers  


What is sql server database?

1 Answers  


How to drop an existing user defined function in ms sql server?

1 Answers  


What is abstracting periodical?

1 Answers  


explain the difference between oracle- sql and sql server sql ? if both are same y we r using 2 sw.s?

1 Answers   ADP, iSoft,


How to define and use table alias names in ms sql server?

1 Answers  


Categories