There is two field in my data base id(primary key) and name. I want arrange my data in descending order by using id
+3
A:
SELECT [column(s)]
FROM [table]
ORDER BY [column(s)] [ASC, DESC];
For more information check here: http://www.sqlite.org/lang_select.html
Ardman
2010-05-14 08:03:57
AFAIK if you omit ASC it will work as ascending by defeault.
Camilo Martin
2010-05-14 08:11:31
Added purely to show the options ;o)
Ardman
2010-05-14 08:25:41