I have a table with 2 fields DATE and IMPORTANCE. Now I want to sort both these fields in DESCENDING ORDER so that the rows are ordered by IMPORTANCE for EACH DATE. For ex
You can add as many fields to ORDER BY as you want.
That'd be something like:
SELECT * FROM table ORDER BY `date` DESC, `importance` DESC