Cursor cursor = db.rawQuery(sql,args); while (cursor.moveToNext()) { int id = cursor.getInt(cursor.getColumnIndex("id")); String name = cursor.getString(cursor.getColumnIndex("name")); }原文链接:https://www.f2er.com/sqlite/201207.html
Cursor cursor = db.rawQuery(sql,args); while (cursor.moveToNext()) { int id = cursor.getInt(cursor.getColumnIndex("id")); String name = cursor.getString(cursor.getColumnIndex("name")); }原文链接:https://www.f2er.com/sqlite/201207.html