Skip to content

Content Tagged "descending"

Page 1 of 1

TIL you can mix ASC, DESC in ORDER BY (SQLite)

November 4, 2015Category: Software
TL;DR: You can use ORDER BY column1 DESC, column2 ASC ... in your code. The other day I was trying to get a custom ordering in a list for an object: order decreasing by UNREAD MESSAGES count and then order ascending by DATE Initially, I tried a GROUP BY, but I could not get it to do the ordering…

All tags