我想知道当我按 DESC 订购时它给我的百分比值不正确:
订购前
10% 70% 99% 90% 100%
下单后
99% 90% 70% 100% 10%
实际上它应该是100%上升。任何机构都可以帮助我吗?
我的订单代码:
public Cursor queue_FRUIT()
{
String[] columns = new String[]{KEY_ID, KEY_LEVEL, KEY_CORRECT, KEY_INCORRECT, KEY_DATE, KEY_PERCENTAGE, KEY_RESULT};
Cursor cursor = sqLiteDatabase.query(TABLE_FRUIT, columns, null, null, null, null, KEY_DATE+" DESC, " + KEY_PERCENTAGE+" DESC", "10");
return cursor;
}