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#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c# - Making TableLayoutPanel Act Like An HTML Table (Cells That Resize Automatically Around Text) -