sql order by - SQL multiple column ordering -


i trying sort multiple columns in sql, , in different directions. column1 sorted descending, , column2 ascending.

how can this?

order column1 desc, column2 

this sorts column1 (descending) first, , column2 (ascending, default) whenever column1 fields 2 rows equal.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -