I want to make a query such that the result will be shown in indistinct descending order.
For example, assume column ID has six rows. I need an quer
You can write like this:
Cursor cursor = db.rawQuery("SELECT * FROM " + TABLE_NAME+" WHERE "+STATUS+" = "+"'0'" + " ORDER BY id DESC LIMIT 10", null); return cursor ;