Cursor cursor = db.rawQuery("SELECT id,name FROM people WHERE id="+ id + " AND name IS NULL",null);
Instead of loading only one id’s record to my cursor, I want to load a range of id such as starting id=100 to id=150 to the cursor. How can I do that ?
You can do this by changing the operators used in your
WHEREclause.