Tuesday, April 17, 2012

[android-developers] ascending descending order in android

Cursor c= db.rawQuery("Select "+TABLE_ROW_ID_NEWS+" as _id ,
"+TABLE_ROW_ONE_NEWS+", "+TABLE_ROW_TWO_NEWS+" from "+TABLE_NAME_NEWS,
new String [] {});
return c;


This my query.
TABLE_ROW_ID_NEWS is column of my table(TABLE_NAME_NEWS).
I want to add TABLE_ROW_ID_NEWS is descending order.
I want change this query, where we want change in query????????????

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate