tags:

views:

115

answers:

2

I am trying to sort to multiple columns in SQL, and in different directions. coloumn1 would be sorted decending, and coloumn2 accending.

How can I do this?

+10  A: 
ORDER BY column1 DESC, column2
Ignacio Vazquez-Abrams
+6  A: 
SELECT  *
FROM    mytable
ORDER BY
        coloumn1 DESC, coloumn2 ASC
Quassnoi